| Modifier and Type | Method and Description |
|---|---|
| public URI | |
| public UriBuilder | Returns: the initialized URI builder.Get the URI builder initialized with the |
| public WebTarget | Returns: a new target instance.the matrix parameter name, may contain URI template parameters. name, Object... the matrix parameter value(s), each object will be converted to a values)String using its
toString() method. Stringified values may contain URI template parameters.Create a new |
| public WebTarget | |
| public WebTarget | Returns: a new target instance.the query parameter name, may contain URI template parameters name, Object... the query parameter value(s), each object will be converted to a values)String using its
toString() method. Stringified values may contain URI template parameters.Create a new |
| public Invocation. | Returns: builder for a request targeted at the URI referenced by this target instance.Start building a request to the targeted web resource. |
| public Invocation. | |
| public Invocation. | |
| public WebTarget | Returns: a new target instance.name of the URI template. name, Object value to be used to resolve the template. value)Create a new |
| public WebTarget | Returns: a new target instance.name of the URI template. name, Object value to be used to resolve the template. value, boolean if encodeSlashInPath)true, the slash ('/') characters in template values will be encoded if
the template is placed in the URI path component, otherwise the slash characters will not be encoded in path
templates.Create a new |
| public WebTarget | Returns: a new target instance.name of the URI template. name, Object encoded value to be used to resolve the template. value)Create a new |
| public WebTarget | Returns: a new target instance or the same target instance in case the input name-value map is empty.a map of URI template names and their values. templateValues)Create a new |
| public WebTarget | Returns: a new target instance or the same target instance in case the input name-value map is empty.a map of URI template names and their values. templateValues, boolean if encodeSlashInPath)true, the slash ('/') characters in template values will be encoded if
the template is placed in the URI path component, otherwise the slash characters will not be encoded in path
templates.Create a new |
| public WebTarget | Returns: a new target instance or the same target instance in case the input name-value map is empty.a map of URI template names and their encoded values. templateValues)Create a new |
| getUri | back to summary |
|---|---|
| public URI getUri() Get the URI identifying the resource.
| |
| getUriBuilder | back to summary |
|---|---|
| public UriBuilder getUriBuilder() Get the URI builder initialized with the
| |
| matrixParam | back to summary |
|---|---|
| public WebTarget matrixParam(String name, Object... values) Create a new Note that the matrix parameters are tied to a particular path segment; appending a value to an existing matrix parameter name will not affect the position of the matrix parameter in the URI path. A snapshot of the present configuration of the current (parent) target instance is taken and is inherited by the newly constructed (child) target instance.
| |
| path | back to summary |
|---|---|
| public WebTarget path(String path) Create a new When constructing the final path, a '/' separator will be inserted between the existing path and the supplied path if necessary. Existing '/' characters are preserved thus a single value can represent multiple URI path segments. A snapshot of the present configuration of the current (parent) target instance is taken and is inherited by the newly constructed (child) target instance.
| |
| queryParam | back to summary |
|---|---|
| public WebTarget queryParam(String name, Object... values) Create a new A snapshot of the present configuration of the current (parent) target instance is taken and is inherited by the newly constructed (child) target instance.
| |
| request | back to summary |
|---|---|
| public Invocation. Start building a request to the targeted web resource.
| |
| request | back to summary |
|---|---|
| public Invocation. Start building a request to the targeted web resource and define the accepted response media types. Invoking this method is identical to: webTarget.request().accept(types);
| |
| request | back to summary |
|---|---|
| public Invocation. Start building a request to the targeted web resource and define the accepted response media types. Invoking this method is identical to: webTarget.request().accept(types);
| |
| resolveTemplate | back to summary |
|---|---|
| public WebTarget resolveTemplate(String name, Object value) Create a new A snapshot of the present configuration of the current (parent) target instance is taken and is inherited by the newly constructed (child) target instance.
| |
| resolveTemplate | back to summary |
|---|---|
| public WebTarget resolveTemplate(String name, Object value, boolean encodeSlashInPath) Create a new A snapshot of the present configuration of the current (parent) target instance is taken and is inherited by the newly constructed (child) target instance.
| |
| resolveTemplateFromEncoded | back to summary |
|---|---|
| public WebTarget resolveTemplateFromEncoded(String name, Object value) Create a new A snapshot of the present configuration of the current (parent) target instance is taken and is inherited by the newly constructed (child) target instance.
| |
| resolveTemplates | back to summary |
|---|---|
| public WebTarget resolveTemplates(Map<String, Object> templateValues) Create a new A snapshot of the present configuration of the current (parent) target instance is taken and is inherited by the newly constructed (child) target instance.
| |
| resolveTemplates | back to summary |
|---|---|
| public WebTarget resolveTemplates(Map<String, Object> templateValues, boolean encodeSlashInPath) Create a new A snapshot of the present configuration of the current (parent) target instance is taken and is inherited by the newly constructed (child) target instance.
| |
| resolveTemplatesFromEncoded | back to summary |
|---|---|
| public WebTarget resolveTemplatesFromEncoded(Map<String, Object> templateValues) Create a new A snapshot of the present configuration of the current (parent) target instance is taken and is inherited by the newly constructed (child) target instance.
| |