| Modifier and Type | Class and Description |
|---|---|
class |
UriBuilder
A Jersey implementation of
de.weltraumschaf.commons.uri.BaseUriBuilder. |
| Modifier and Type | Method and Description |
|---|---|
abstract BaseUriBuilder |
BaseUriBuilder.clone()
Create a copy of the BaseUriBuilder preserving its state.
|
(package private) abstract BaseUriBuilder |
BaseUriBuilder.fragment(String fragment)
Set the URI fragment.
|
(package private) static BaseUriBuilder |
BaseUriBuilder.fromLink(Link link)
Create a new instance initialized from a Link.
|
(package private) static BaseUriBuilder |
BaseUriBuilder.fromPath(String path)
Create a new instance representing a relative URI initialized from a URI path.
|
(package private) static BaseUriBuilder |
BaseUriBuilder.fromResource(Class<?> resource)
Create a new instance representing a relative URI initialized from a root resource class.
|
(package private) static BaseUriBuilder |
BaseUriBuilder.fromUri(String uriTemplate)
Create a new instance initialized from an existing URI.
|
(package private) static BaseUriBuilder |
BaseUriBuilder.fromUri(URI uri)
Create a new instance initialized from an existing URI.
|
abstract BaseUriBuilder |
Link.getUriBuilder()
Convenience method that returns a
javax.ws.rs.core.UriBuilder
initialized with this link's underlying URI. |
(package private) abstract BaseUriBuilder |
BaseUriBuilder.host(String host)
Set the URI host.
|
(package private) abstract BaseUriBuilder |
BaseUriBuilder.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.
|
protected static BaseUriBuilder |
BaseUriBuilder.newInstance()
Creates a new instance of BaseUriBuilder.
|
BaseUriBuilder |
UriBuilder.path(Class resource)
Append the path from a Path-annotated class to the existing path.
|
(package private) abstract BaseUriBuilder |
BaseUriBuilder.path(Class resource)
Append the path from a Path-annotated class to the existing path.
|
(package private) abstract BaseUriBuilder |
BaseUriBuilder.path(Method method)
Append the path from a
javax.ws.rs.Path-annotated method to the existing path. |
(package private) abstract BaseUriBuilder |
BaseUriBuilder.path(String path)
Append path to the existing path.
|
(package private) abstract BaseUriBuilder |
BaseUriBuilder.port(int port)
Set the URI port.
|
(package private) abstract BaseUriBuilder |
BaseUriBuilder.queryParam(String name,
Object... values)
Append a query parameter to the existing set of query parameters.
|
(package private) abstract BaseUriBuilder |
BaseUriBuilder.replaceMatrix(String matrix)
Set the matrix parameters of the current final segment of the current URI path.
|
(package private) abstract BaseUriBuilder |
BaseUriBuilder.replaceMatrixParam(String name,
Object... values)
Replace the existing value(s) of a matrix parameter on the current final segment of the URI path.
|
(package private) abstract BaseUriBuilder |
BaseUriBuilder.replacePath(String path)
Set the URI path.
|
(package private) abstract BaseUriBuilder |
BaseUriBuilder.replaceQuery(String query)
Set the URI query string.
|
(package private) abstract BaseUriBuilder |
BaseUriBuilder.replaceQueryParam(String name,
Object... values)
Replace the existing value(s) of a query parameter.
|
(package private) abstract BaseUriBuilder |
BaseUriBuilder.resolveTemplate(String name,
Object value)
Resolve a URI template with a given
name in this BaseUriBuilder instance using a supplied value. |
(package private) abstract BaseUriBuilder |
BaseUriBuilder.resolveTemplate(String name,
Object value,
boolean encodeSlashInPath)
Resolve a URI template with a given
name in this BaseUriBuilder instance using a supplied value. |
(package private) abstract BaseUriBuilder |
BaseUriBuilder.resolveTemplateFromEncoded(String name,
Object value)
Resolve a URI template with a given
name in this BaseUriBuilder instance using a supplied encoded
value. |
(package private) abstract BaseUriBuilder |
BaseUriBuilder.resolveTemplates(Map<String,Object> templateValues)
Resolve one or more URI templates in this
BaseUriBuilder instance using supplied name-value pairs. |
(package private) abstract BaseUriBuilder |
BaseUriBuilder.resolveTemplates(Map<String,Object> templateValues,
boolean encodeSlashInPath)
Resolve one or more URI templates in this
BaseUriBuilder instance using supplied name-value pairs. |
(package private) abstract BaseUriBuilder |
BaseUriBuilder.resolveTemplatesFromEncoded(Map<String,Object> templateValues)
Resolve one or more URI templates in this
BaseUriBuilder instance using supplied name-value pairs. |
(package private) abstract BaseUriBuilder |
BaseUriBuilder.scheme(String scheme)
Set the URI scheme.
|
(package private) abstract BaseUriBuilder |
BaseUriBuilder.schemeSpecificPart(String ssp)
Set the URI scheme-specific-part (see
java.net.URI). |
(package private) abstract BaseUriBuilder |
BaseUriBuilder.segment(String... segments)
Append path segments to the existing path.
|
(package private) abstract BaseUriBuilder |
BaseUriBuilder.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. |
(package private) abstract BaseUriBuilder |
BaseUriBuilder.uri(URI uri)
Copies the non-null components of the supplied URI to the BaseUriBuilder replacing any existing values for those
components.
|
(package private) abstract BaseUriBuilder |
BaseUriBuilder.userInfo(String ui)
Set the URI user-info.
|
| Modifier and Type | Method and Description |
|---|---|
Link.Builder |
Link.Builder.uriBuilder(BaseUriBuilder uriBuilder)
Set underlying URI builder representing the URI template for the link being constructed.
|
Copyright © 2014 Sven Strittmatter. All Rights Reserved.