Package | Description |
---|---|
org.restlet.ext.jaxrs |
Support for JAX-RS API.
|
Modifier and Type | Method and Description |
---|---|
ExtendedUriBuilder |
ExtendedUriBuilder.clone() |
ExtendedUriBuilder |
ExtendedUriBuilder.extension(String extensions)
Set the extension that will be appended to the final path segment at
build time.
|
ExtendedUriBuilder |
ExtendedUriBuilder.extensionLanguage(String language)
Appends an extension for the language ("de", "en", "fr" or whatever).
|
ExtendedUriBuilder |
ExtendedUriBuilder.extensionMedia(String mediaExtension)
Appends an extension for the media type ("html", "pdf", "gif" or
whatever).
|
ExtendedUriBuilder |
ExtendedUriBuilder.fragment(String fragment)
Set the URI fragment using an unencoded value.
|
static ExtendedUriBuilder |
ExtendedUriBuilder.fromPath(String path)
Create a new instance representing a relative URI initialized from a URI
path.
|
static ExtendedUriBuilder |
ExtendedUriBuilder.fromResource(Class<?> resource)
Create a new instance representing a relative URI initialized from a root
resource class.
|
static ExtendedUriBuilder |
ExtendedUriBuilder.fromUri(String uri)
Create a new instance initialized from an existing URI.
|
static ExtendedUriBuilder |
ExtendedUriBuilder.fromUri(URI uri)
Create a new instance initialized from an existing URI.
|
ExtendedUriBuilder |
ExtendedUriInfo.getAbsolutePathBuilder()
Get the absolute path of the request in the form of an
ExtendedUriBuilder . |
ExtendedUriBuilder |
ExtendedUriInfo.getBaseUriBuilder()
Get the base URI of the application in the form of an
ExtendedUriBuilder . |
ExtendedUriBuilder |
ExtendedUriInfo.getRequestUriBuilder()
Get the absolute request URI in the form of an
ExtendedUriBuilder
. |
ExtendedUriBuilder |
ExtendedUriBuilder.host(String host)
Set the URI host.
|
ExtendedUriBuilder |
ExtendedUriBuilder.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.
|
static ExtendedUriBuilder |
ExtendedUriBuilder.newInstance()
Creates a new instance of UriBuilder.
|
ExtendedUriBuilder |
ExtendedUriBuilder.path(Class resource)
Append path segments from a Path-annotated class to the existing list of
segments.
|
ExtendedUriBuilder |
ExtendedUriBuilder.path(Class resource,
String methodName)
Append path segments from a Path-annotated method to the existing list of
segments.
|
ExtendedUriBuilder |
ExtendedUriBuilder.path(Method method)
Append the path from a
Path -annotated method to the
existing path. |
ExtendedUriBuilder |
ExtendedUriBuilder.path(String pathToAppend)
Append path to the existing path.
|
ExtendedUriBuilder |
ExtendedUriBuilder.port(int port)
Set the URI port.
|
ExtendedUriBuilder |
ExtendedUriBuilder.port(String port)
Set the URI port.
|
ExtendedUriBuilder |
ExtendedUriBuilder.queryParam(String name,
Object... values)
Append a query parameter to the existing set of query parameters.
|
ExtendedUriBuilder |
ExtendedUriBuilder.replaceMatrix(String matrix)
Set the matrix parameters of the current final segment of the current URI
path.
|
ExtendedUriBuilder |
ExtendedUriBuilder.replaceMatrixParam(String name,
Object... values) |
ExtendedUriBuilder |
ExtendedUriBuilder.replacePath(String newPath)
Set the URI path.
|
ExtendedUriBuilder |
ExtendedUriBuilder.replaceQuery(String query)
Set the URI query string.
|
ExtendedUriBuilder |
ExtendedUriBuilder.replaceQueryParam(String name,
Object... values) |
ExtendedUriBuilder |
ExtendedUriBuilder.scheme(String scheme)
Set the URI scheme.
|
ExtendedUriBuilder |
ExtendedUriBuilder.schemeSpecificPart(String ssp)
Set the URI scheme-specific-part (see
URI ). |
ExtendedUriBuilder |
ExtendedUriBuilder.segment(String... segments)
Append path segments to the existing path.
|
ExtendedUriBuilder |
ExtendedUriBuilder.uri(URI uri)
Copies the non-null components of the supplied URI to the UriBuilder
replacing any existing values for those components.
|
ExtendedUriBuilder |
ExtendedUriBuilder.userInfo(String ui)
Set the URI user-info.
|
Copyright © 2005-2014 Restlet.