Package | Description |
---|---|
org.springframework.web.util |
Miscellaneous web utility classes, such as HTML escaping,
Log4j initialization, and cookie handling.
|
Modifier and Type | Method and Description |
---|---|
UriComponents |
UriComponentsBuilder.build()
Build a
UriComponents instance from the various components contained in this builder. |
UriComponents |
UriComponentsBuilder.build(boolean encoded)
Build a
UriComponents instance from the various components
contained in this builder. |
UriComponents |
UriComponentsBuilder.buildAndExpand(java.util.Map<java.lang.String,?> uriVariables)
Build a
UriComponents instance and replaces URI template variables
with the values from a map. |
UriComponents |
UriComponentsBuilder.buildAndExpand(java.lang.Object... uriVariableValues)
Build a
UriComponents instance and replaces URI template variables
with the values from an array. |
UriComponents |
UriComponents.encode()
Invoke this after expanding URI variables to encode the
resulting URI component values.
|
abstract UriComponents |
UriComponents.encode(java.nio.charset.Charset charset)
A variant of
encode() with a charset other than "UTF-8". |
UriComponents |
UriComponents.expand(java.util.Map<java.lang.String,?> uriVariables)
Replace all URI template variables with the values from a given map.
|
UriComponents |
UriComponents.expand(java.lang.Object... uriVariableValues)
Replace all URI template variables with the values from a given array.
|
UriComponents |
UriComponents.expand(UriComponents.UriTemplateVariables uriVariables)
Replace all URI template variables with the values from the given
UriComponents.UriTemplateVariables . |
protected UriComponents |
DefaultUriTemplateHandler.expandAndEncode(UriComponentsBuilder builder,
java.util.Map<java.lang.String,?> uriVariables)
Deprecated.
|
protected UriComponents |
DefaultUriTemplateHandler.expandAndEncode(UriComponentsBuilder builder,
java.lang.Object[] uriVariables)
Deprecated.
|
abstract UriComponents |
UriComponents.normalize()
Normalize the path removing sequences like "path/..".
|
Modifier and Type | Method and Description |
---|---|
UriComponentsBuilder |
UriComponentsBuilder.uriComponents(UriComponents uriComponents)
Set or append individual URI components of this builder from the values
of the given
UriComponents instance. |