Package | Description |
---|---|
org.springframework.web.util |
Miscellaneous web utility classes, such as HTML escaping,
Log4j initialization, and cookie handling.
|
Modifier and Type | Class and Description |
---|---|
class |
UriComponentsBuilder
Builder for
UriComponents . |
Modifier and Type | Method and Description |
---|---|
UriBuilder |
DefaultUriBuilderFactory.builder() |
UriBuilder |
UriBuilderFactory.builder()
Create a URI builder with default settings.
|
UriBuilder |
UriBuilder.fragment(String fragment)
Set the URI fragment.
|
UriBuilder |
UriBuilder.host(String host)
Set the URI host which may contain URI template variables, and may also
be
null to clear the host of this builder. |
UriBuilder |
UriBuilder.path(String path)
Append the given path to the existing path of this builder.
|
UriBuilder |
UriBuilder.pathSegment(String... pathSegments)
Append path segments to the existing path.
|
UriBuilder |
UriBuilder.port(int port)
Set the URI port.
|
UriBuilder |
UriBuilder.port(String port)
Set the URI port .
|
UriBuilder |
UriBuilder.query(String query)
Append the given query to the existing query of this builder.
|
UriBuilder |
UriBuilder.queryParam(String name,
Collection<?> values)
Append the given query parameter to the existing query parameters.
|
UriBuilder |
UriBuilder.queryParam(String name,
Object... values)
Append the given query parameter to the existing query parameters.
|
UriBuilder |
UriBuilder.queryParams(org.springframework.util.MultiValueMap<String,String> params)
Add the given query parameters.
|
UriBuilder |
UriBuilder.replacePath(String path)
Set the path of this builder overriding the existing path values.
|
UriBuilder |
UriBuilder.replaceQuery(String query)
Set the query of this builder overriding all existing query parameters.
|
UriBuilder |
UriBuilder.replaceQueryParam(String name,
Collection<?> values)
Set the query parameter values overriding all existing query values for
the same parameter.
|
UriBuilder |
UriBuilder.replaceQueryParam(String name,
Object... values)
Set the query parameter values overriding all existing query values for
the same parameter.
|
UriBuilder |
UriBuilder.replaceQueryParams(org.springframework.util.MultiValueMap<String,String> params)
Set the query parameter values overriding all existing query values.
|
UriBuilder |
UriBuilder.scheme(String scheme)
Set the URI scheme which may contain URI template variables,
and may also be
null to clear the scheme of this builder. |
UriBuilder |
DefaultUriBuilderFactory.uriString(String uriTemplate) |
UriBuilder |
UriBuilderFactory.uriString(String uriTemplate)
Initialize a builder with the given URI template.
|
UriBuilder |
UriBuilder.userInfo(String userInfo)
Set the URI user info which may contain URI template variables, and
may also be
null to clear the user info of this builder. |