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