| Modifier and Type | Method and Description |
|---|---|
UriBuilder |
UriBuilder.clone()
Create a copy of the BaseUriBuilder preserving its state.
|
UriBuilder |
UriBuilder.fragment(String fragment)
Set the URI fragment.
|
UriBuilder |
UriBuilder.host(String host)
Set the URI host.
|
UriBuilder |
UriBuilder.matrixParam(String name,
Object... values)
Append a matrix parameter to the existing set of matrix parameters of the current final segment of the URI path.
|
UriBuilder |
UriBuilder.path(Method method)
Append the path from a
javax.ws.rs.Path-annotated method to the existing path. |
UriBuilder |
UriBuilder.path(String path)
Append path to the existing path.
|
UriBuilder |
UriBuilder.port(int port)
Set the URI port.
|
UriBuilder |
UriBuilder.queryParam(String name,
Object... values)
Append a query parameter to the existing set of query parameters.
|
UriBuilder |
UriBuilder.replaceMatrix(String matrix)
Set the matrix parameters of the current final segment of the current URI path.
|
UriBuilder |
UriBuilder.replaceMatrixParam(String name,
Object... values)
Replace the existing value(s) of a matrix parameter on the current final segment of the URI path.
|
UriBuilder |
UriBuilder.replacePath(String path)
Set the URI path.
|
UriBuilder |
UriBuilder.replaceQuery(String query)
Set the URI query string.
|
UriBuilder |
UriBuilder.replaceQueryParam(String name,
Object... values)
Replace the existing value(s) of a query parameter.
|
UriBuilder |
UriBuilder.resolveTemplate(String name,
Object value)
Resolve a URI template with a given
name in this BaseUriBuilder instance using a supplied value. |
UriBuilder |
UriBuilder.resolveTemplate(String name,
Object value,
boolean encodeSlashInPath)
Resolve a URI template with a given
name in this BaseUriBuilder instance using a supplied value. |
private UriBuilder |
UriBuilder.resolveTemplate(String name,
Object value,
boolean encode,
boolean encodeSlashInPath) |
UriBuilder |
UriBuilder.resolveTemplateFromEncoded(String name,
Object value)
Resolve a URI template with a given
name in this BaseUriBuilder instance using a supplied encoded
value. |
UriBuilder |
UriBuilder.resolveTemplates(Map<String,Object> templateValues)
Resolve one or more URI templates in this
BaseUriBuilder instance using supplied name-value pairs. |
UriBuilder |
UriBuilder.resolveTemplates(Map<String,Object> templateValues,
boolean encodeSlashInPath)
Resolve one or more URI templates in this
BaseUriBuilder instance using supplied name-value pairs. |
private UriBuilder |
UriBuilder.resolveTemplates(Map<String,Object> templateValues,
boolean encode,
boolean encodeSlashInPath) |
UriBuilder |
UriBuilder.resolveTemplatesFromEncoded(Map<String,Object> templateValues)
Resolve one or more URI templates in this
BaseUriBuilder instance using supplied name-value pairs. |
UriBuilder |
UriBuilder.scheme(String scheme)
Set the URI scheme.
|
UriBuilder |
UriBuilder.schemeSpecificPart(String ssp)
Set the URI scheme-specific-part (see
java.net.URI). |
UriBuilder |
UriBuilder.segment(String... segments)
Append path segments to the existing path.
|
UriBuilder |
UriBuilder.uri(String uriTemplate)
Parses the
uriTemplate string and copies the parsed components of the supplied URI to the BaseUriBuilder
replacing any existing values for those components. |
UriBuilder |
UriBuilder.uri(URI uri)
Copies the non-null components of the supplied URI to the BaseUriBuilder replacing any existing values for those
components.
|
UriBuilder |
UriBuilder.userInfo(String ui)
Set the URI user-info.
|
| Constructor and Description |
|---|
UriBuilder(UriBuilder that) |
Copyright © 2014 Sven Strittmatter. All Rights Reserved.