Uses of Interface
jakarta.ws.rs.client.WebTarget
Package | Description |
---|---|
jakarta.ws.rs.client |
The JAX-RS client API
|
jakarta.ws.rs.sse |
Server-Sent Events related API.
|
-
Uses of WebTarget in jakarta.ws.rs.client
Methods in jakarta.ws.rs.client that return WebTarget Modifier and Type Method Description WebTarget
WebTarget. matrixParam(String name, Object... values)
Create a newWebTarget
instance by appending a matrix parameter to the existing set of matrix parameters of the current final segment of the URI of the current target instance.WebTarget
WebTarget. path(String path)
Create a newWebTarget
instance by appending path to the URI of the current target instance.WebTarget
WebTarget. queryParam(String name, Object... values)
Create a newWebTarget
instance by configuring a query parameter on the URI of the current target instance.WebTarget
WebTarget. resolveTemplate(String name, Object value)
Create a newWebTarget
instance by resolving a URI template with a givenname
in the URI of the current target instance using a supplied value.WebTarget
WebTarget. resolveTemplate(String name, Object value, boolean encodeSlashInPath)
Create a newWebTarget
instance by resolving a URI template with a givenname
in the URI of the current target instance using a supplied value.WebTarget
WebTarget. resolveTemplateFromEncoded(String name, Object value)
Create a newWebTarget
instance by resolving a URI template with a givenname
in the URI of the current target instance using a supplied encoded value.WebTarget
WebTarget. resolveTemplates(Map<String,Object> templateValues)
Create a newWebTarget
instance by resolving one or more URI templates in the URI of the current target instance using supplied name-value pairs.WebTarget
WebTarget. resolveTemplates(Map<String,Object> templateValues, boolean encodeSlashInPath)
Create a newWebTarget
instance by resolving one or more URI templates in the URI of the current target instance using supplied name-value pairs.WebTarget
WebTarget. resolveTemplatesFromEncoded(Map<String,Object> templateValues)
Create a newWebTarget
instance by resolving one or more URI templates in the URI of the current target instance using supplied name-encoded value pairs.WebTarget
Client. target(Link link)
Build a new web resource target.WebTarget
Client. target(UriBuilder uriBuilder)
Build a new web resource target.WebTarget
Client. target(String uri)
Build a new web resource target.WebTarget
Client. target(URI uri)
Build a new web resource target. -
Uses of WebTarget in jakarta.ws.rs.sse
Methods in jakarta.ws.rs.sse with parameters of type WebTarget Modifier and Type Method Description protected abstract SseEventSource.Builder
SseEventSource.Builder. target(WebTarget endpoint)
static SseEventSource.Builder
SseEventSource. target(WebTarget endpoint)
Create a newevent source builder
that provides convenient way how to configure and fine-tune various aspects of a newly prepared event source instance.