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 |
---|---|
UriComponentsBuilder |
UriComponentsBuilder.fragment(java.lang.String fragment)
Set the URI fragment.
|
static UriComponentsBuilder |
UriComponentsBuilder.fromHttpUrl(java.lang.String httpUrl)
Creates a new
UriComponents object from the string HTTP URL. |
static UriComponentsBuilder |
UriComponentsBuilder.fromPath(java.lang.String path)
Returns a builder that is initialized with the given path.
|
static UriComponentsBuilder |
UriComponentsBuilder.fromUri(java.net.URI uri)
Returns a builder that is initialized with the given
URI . |
static UriComponentsBuilder |
UriComponentsBuilder.fromUriString(java.lang.String uri)
Returns a builder that is initialized with the given URI string.
|
UriComponentsBuilder |
UriComponentsBuilder.host(java.lang.String host)
Set the URI host.
|
static UriComponentsBuilder |
UriComponentsBuilder.newInstance()
Returns a new, empty builder.
|
UriComponentsBuilder |
UriComponentsBuilder.path(java.lang.String path)
Append the given path to the existing path of this builder.
|
UriComponentsBuilder |
UriComponentsBuilder.pathSegment(java.lang.String... pathSegments)
Append the given path segments to the existing path of this builder.
|
UriComponentsBuilder |
UriComponentsBuilder.port(int port)
Set the URI port.
|
UriComponentsBuilder |
UriComponentsBuilder.query(java.lang.String query)
Append the given query to the existing query of this builder.
|
UriComponentsBuilder |
UriComponentsBuilder.queryParam(java.lang.String name,
java.lang.Object... values)
Append the given query parameter to the existing query parameters.
|
UriComponentsBuilder |
UriComponentsBuilder.replacePath(java.lang.String path)
Set the path of this builder overriding all existing path and path segment values.
|
UriComponentsBuilder |
UriComponentsBuilder.replaceQuery(java.lang.String query)
Set the query of this builder overriding all existing query parameters.
|
UriComponentsBuilder |
UriComponentsBuilder.replaceQueryParam(java.lang.String name,
java.lang.Object... values)
Set the query parameter values overriding all existing query values for
the same parameter.
|
UriComponentsBuilder |
UriComponentsBuilder.scheme(java.lang.String scheme)
Set the URI scheme.
|
UriComponentsBuilder |
UriComponentsBuilder.schemeSpecificPart(java.lang.String ssp)
Set the URI scheme-specific-part.
|
UriComponentsBuilder |
UriComponentsBuilder.uri(java.net.URI uri)
Initialize all components of this URI builder with the components of the given URI.
|
UriComponentsBuilder |
UriComponentsBuilder.userInfo(java.lang.String userInfo)
Set the URI user info.
|
Copyright © 2021. All rights reserved.