Package | Description |
---|---|
org.springframework.web.servlet.support |
Support classes for Spring's web MVC framework.
|
org.springframework.web.util |
Miscellaneous web utility classes, such as HTML escaping,
log4j initialization, and cookie handling.
|
Modifier and Type | Class and Description |
---|---|
class |
ServletUriComponentsBuilder
A UriComponentsBuilder that extracts information from an HttpServletRequest.
|
Modifier and Type | Method and Description |
---|---|
UriComponentsBuilder |
UriComponentsBuilder.fragment(String fragment)
Set the URI fragment.
|
static UriComponentsBuilder |
UriComponentsBuilder.fromHttpUrl(String httpUrl)
Creates a new
UriComponents object from the string HTTP URL. |
static UriComponentsBuilder |
UriComponentsBuilder.fromPath(String path)
Returns a builder that is initialized with the given path.
|
static UriComponentsBuilder |
UriComponentsBuilder.fromUri(URI uri)
Returns a builder that is initialized with the given
URI . |
static UriComponentsBuilder |
UriComponentsBuilder.fromUriString(String uri)
Returns a builder that is initialized with the given URI string.
|
UriComponentsBuilder |
UriComponentsBuilder.host(String host)
Set the URI host.
|
static UriComponentsBuilder |
UriComponentsBuilder.newInstance()
Returns a new, empty builder.
|
UriComponentsBuilder |
UriComponentsBuilder.path(String path)
Append the given path to the existing path of this builder.
|
UriComponentsBuilder |
UriComponentsBuilder.pathSegment(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(String query)
Append the given query to the existing query of this builder.
|
UriComponentsBuilder |
UriComponentsBuilder.queryParam(String name,
Object... values)
Append the given query parameter to the existing query parameters.
|
UriComponentsBuilder |
UriComponentsBuilder.replacePath(String path)
Set the path of this builder overriding all existing path and path segment values.
|
UriComponentsBuilder |
UriComponentsBuilder.replaceQuery(String query)
Set the query of this builder overriding all existing query parameters.
|
UriComponentsBuilder |
UriComponentsBuilder.replaceQueryParam(String name,
Object... values)
Set the query parameter values overriding all existing query values for
the same parameter.
|
UriComponentsBuilder |
UriComponentsBuilder.scheme(String scheme)
Set the URI scheme.
|
UriComponentsBuilder |
UriComponentsBuilder.schemeSpecificPart(String ssp)
Set the URI scheme-specific-part.
|
UriComponentsBuilder |
UriComponentsBuilder.uri(URI uri)
Initialize all components of this URI builder with the components of the given URI.
|
UriComponentsBuilder |
UriComponentsBuilder.userInfo(String userInfo)
Set the URI user info.
|
Copyright © 2015. All rights reserved.