parent
9c679fccdf
commit
2b4250ec44
|
|
@ -1,6 +1,7 @@
|
|||
|
||||
[[web-uricomponents]]
|
||||
= UriComponents
|
||||
[.small]#Spring MVC and Spring WebFlux#
|
||||
|
||||
`UriComponents` is comparable to `java.net.URI`. However it comes with a dedicated
|
||||
`UriComponentsBuilder` and supports URI template variables:
|
||||
|
|
@ -38,6 +39,7 @@ The above can be done as a single chain and with a shortcut:
|
|||
|
||||
[[web-uribuilder]]
|
||||
= UriBuilder
|
||||
[.small]#Spring MVC and Spring WebFlux#
|
||||
|
||||
<<web-uricomponents,UriComponentsBuilder>> is an implementation of `UriBuilder`. Together
|
||||
`UriBuilderFactory` and `UriBuilder` provide a pluggable mechanism for building a URI
|
||||
|
|
@ -100,6 +102,7 @@ An example of using the `DefaultUriBuilderFactory`:
|
|||
|
||||
[[web-uri-encoding]]
|
||||
= URI Encoding
|
||||
[.small]#Spring MVC and Spring WebFlux#
|
||||
|
||||
The default way of encoding URIs in `UriComponents` works as follows:
|
||||
|
||||
|
|
|
|||
|
|
@ -2197,6 +2197,17 @@ Javadoc for more details.
|
|||
|
||||
|
||||
|
||||
[[mvc-uri-building]]
|
||||
== URI Links
|
||||
[.small]#<<web.adoc#mvc-uri-building,Same in Spring MVC>>#
|
||||
|
||||
This section describes various options available in the Spring Framework to prepare URIs.
|
||||
|
||||
|
||||
include::web-uris.adoc[leveloffset=+2]
|
||||
|
||||
|
||||
|
||||
|
||||
include::webflux-functional.adoc[leveloffset=+1]
|
||||
|
||||
|
|
|
|||
|
|
@ -2880,6 +2880,7 @@ Javadoc for more details.
|
|||
|
||||
[[mvc-uri-building]]
|
||||
== URI Links
|
||||
[.small]#<<web-reactive.adoc#mvc-uri-building,Same in Spring WebFlux>>#
|
||||
|
||||
This section describes various options available in the Spring Framework to prepare URIs.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue