Package | Description |
---|---|
org.springframework.web.util |
Miscellaneous web utility classes, such as HTML escaping 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)
Variant of
UriComponentsBuilder.build() to create a UriComponents instance
when components are already fully encoded. |
UriComponents |
UriComponentsBuilder.buildAndExpand(Map<String,?> uriVariables)
Build a
UriComponents instance and replaces URI template variables
with the values from a map. |
UriComponents |
UriComponentsBuilder.buildAndExpand(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(Charset charset)
A variant of
encode() with a charset other than "UTF-8". |
UriComponents |
UriComponents.expand(Map<String,?> uriVariables)
Replace all URI template variables with the values from a given map.
|
UriComponents |
UriComponents.expand(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,
Map<String,?> uriVariables)
Deprecated.
|
protected UriComponents |
DefaultUriTemplateHandler.expandAndEncode(UriComponentsBuilder builder,
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. |