Skip to content

Commit e4e7eed

Browse files
Correct encode Javadoc for UriComponents and UriComponentsBuilder
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
1 parent ec6b773 commit e4e7eed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

framework-docs/modules/ROOT/partials/web/web-uris.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,9 +268,9 @@ response to a browser.
268268

269269
`UriComponentsBuilder` exposes encoding options at two levels:
270270

271-
* {spring-framework-api}/web/util/UriComponentsBuilder.html#encode--[UriComponentsBuilder#encode()]:
271+
* {spring-framework-api}/web/util/UriComponentsBuilder.html#encode()[UriComponentsBuilder#encode()]:
272272
Pre-encodes the URI template first and then strictly encodes URI variables when expanded.
273-
* {spring-framework-api}/web/util/UriComponents.html#encode--[UriComponents#encode()]:
273+
* {spring-framework-api}/web/util/UriComponents.html#encode()[UriComponents#encode()]:
274274
Encodes URI components _after_ URI variables are expanded.
275275

276276
Both options replace non-ASCII and illegal characters with escaped octets. However, the first option

0 commit comments

Comments
 (0)