abstract UriBuilder |
UriBuilder.clone() |
Create a copy of the UriBuilder preserving its state.
|
abstract UriBuilder |
UriBuilder.fragment(java.lang.String fragment) |
Set the URI fragment.
|
static UriBuilder |
UriBuilder.fromLink(Link link) |
Create a new instance initialized from a Link.
|
static UriBuilder |
UriBuilder.fromMethod(java.lang.Class<?> resource,
java.lang.String method) |
Create a new instance representing a relative URI initialized from a Path -annotated method.
|
static UriBuilder |
UriBuilder.fromPath(java.lang.String path) |
Create a new instance representing a relative URI initialized from a URI path.
|
static UriBuilder |
UriBuilder.fromResource(java.lang.Class<?> resource) |
Create a new instance representing a relative URI initialized from a root resource class.
|
static UriBuilder |
UriBuilder.fromUri(java.lang.String uriTemplate) |
Create a new instance initialized from an existing URI.
|
static UriBuilder |
UriBuilder.fromUri(java.net.URI uri) |
Create a new instance initialized from an existing URI.
|
UriBuilder |
UriInfo.getAbsolutePathBuilder() |
Get the absolute path of the request in the form of a UriBuilder.
|
UriBuilder |
UriInfo.getBaseUriBuilder() |
Get the base URI of the application in the form of a UriBuilder.
|
UriBuilder |
UriInfo.getRequestUriBuilder() |
Get the absolute request URI in the form of a UriBuilder.
|
abstract UriBuilder |
Link.getUriBuilder() |
Convenience method that returns a UriBuilder initialized with this link's underlying URI.
|
abstract UriBuilder |
UriBuilder.host(java.lang.String host) |
Set the URI host.
|
abstract UriBuilder |
UriBuilder.matrixParam(java.lang.String name,
java.lang.Object... values) |
Append a matrix parameter to the existing set of matrix parameters of the current final segment of the URI path.
|
static UriBuilder |
UriBuilder.newInstance() |
Creates a new instance of UriBuilder.
|
abstract UriBuilder |
UriBuilder.path(java.lang.Class resource) |
Append the path from a Path-annotated class to the existing path.
|
abstract UriBuilder |
UriBuilder.path(java.lang.Class resource,
java.lang.String method) |
Append the path from a Path-annotated method to the existing path.
|
abstract UriBuilder |
UriBuilder.path(java.lang.reflect.Method method) |
Append the path from a Path -annotated method to the existing path.
|
abstract UriBuilder |
UriBuilder.path(java.lang.String path) |
Append path to the existing path.
|
abstract UriBuilder |
UriBuilder.port(int port) |
Set the URI port.
|
abstract UriBuilder |
UriBuilder.queryParam(java.lang.String name,
java.lang.Object... values) |
Append a query parameter to the existing set of query parameters.
|
abstract UriBuilder |
UriBuilder.replaceMatrix(java.lang.String matrix) |
Set the matrix parameters of the current final segment of the current URI path.
|
abstract UriBuilder |
UriBuilder.replaceMatrixParam(java.lang.String name,
java.lang.Object... values) |
Replace the existing value(s) of a matrix parameter on the current final segment of the URI path.
|
abstract UriBuilder |
UriBuilder.replacePath(java.lang.String path) |
Set the URI path.
|
abstract UriBuilder |
UriBuilder.replaceQuery(java.lang.String query) |
Set the URI query string.
|
abstract UriBuilder |
UriBuilder.replaceQueryParam(java.lang.String name,
java.lang.Object... values) |
Replace the existing value(s) of a query parameter.
|
abstract UriBuilder |
UriBuilder.resolveTemplate(java.lang.String name,
java.lang.Object value) |
Resolve a URI template with a given name in this UriBuilder instance using a supplied value.
|
abstract UriBuilder |
UriBuilder.resolveTemplate(java.lang.String name,
java.lang.Object value,
boolean encodeSlashInPath) |
Resolve a URI template with a given name in this UriBuilder instance using a supplied value.
|
abstract UriBuilder |
UriBuilder.resolveTemplateFromEncoded(java.lang.String name,
java.lang.Object value) |
Resolve a URI template with a given name in this UriBuilder instance using a supplied encoded value.
|
abstract UriBuilder |
UriBuilder.resolveTemplates(java.util.Map<java.lang.String,java.lang.Object> templateValues) |
Resolve one or more URI templates in this UriBuilder instance using supplied name-value pairs.
|
abstract UriBuilder |
UriBuilder.resolveTemplates(java.util.Map<java.lang.String,java.lang.Object> templateValues,
boolean encodeSlashInPath) |
Resolve one or more URI templates in this UriBuilder instance using supplied name-value pairs.
|
abstract UriBuilder |
UriBuilder.resolveTemplatesFromEncoded(java.util.Map<java.lang.String,java.lang.Object> templateValues) |
Resolve one or more URI templates in this UriBuilder instance using supplied name-value pairs.
|
abstract UriBuilder |
UriBuilder.scheme(java.lang.String scheme) |
Set the URI scheme.
|
abstract UriBuilder |
UriBuilder.schemeSpecificPart(java.lang.String ssp) |
Set the URI scheme-specific-part (see URI ).
|
abstract UriBuilder |
UriBuilder.segment(java.lang.String... segments) |
Append path segments to the existing path.
|
abstract UriBuilder |
UriBuilder.uri(java.lang.String uriTemplate) |
Parses the uriTemplate string and copies the parsed components of the supplied URI to the UriBuilder
replacing any existing values for those components.
|
abstract UriBuilder |
UriBuilder.uri(java.net.URI uri) |
Copies the non-null components of the supplied URI to the UriBuilder replacing any existing values for those
components.
|
abstract UriBuilder |
UriBuilder.userInfo(java.lang.String ui) |
Set the URI user-info.
|