Uses of Class
org.springframework.web.util.UriComponents
Package
Description
Miscellaneous web utility classes, such as HTML escaping and cookie handling.
-
Uses of UriComponents in org.springframework.web.util
Modifier and TypeMethodDescriptionUriComponentsBuilder.build()
Build aUriComponents
instance from the various components contained in this builder.UriComponentsBuilder.build
(boolean encoded) Variant ofUriComponentsBuilder.build()
to create aUriComponents
instance when components are already fully encoded.UriComponentsBuilder.buildAndExpand
(Object... uriVariableValues) Build aUriComponents
instance and replaces URI template variables with the values from an array.UriComponentsBuilder.buildAndExpand
(Map<String, ?> uriVariables) Build aUriComponents
instance and replaces URI template variables with the values from a map.final UriComponents
UriComponents.encode()
Invoke this after expanding URI variables to encode the resulting URI component values.abstract UriComponents
A variant ofencode()
with a charset other than "UTF-8".final UriComponents
Replace all URI template variables with the values from a given array.final UriComponents
Replace all URI template variables with the values from a given map.final UriComponents
UriComponents.expand
(UriComponents.UriTemplateVariables uriVariables) Replace all URI template variables with the values from the givenUriComponents.UriTemplateVariables
.abstract UriComponents
UriComponents.normalize()
Normalize the path removing sequences like "path/..".Modifier and TypeMethodDescriptionUriComponentsBuilder.uriComponents
(UriComponents uriComponents) Set or append individual URI components of this builder from the values of the givenUriComponents
instance.