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 WebTargetWebTarget. matrixParam(String name, Object... values)Create a newWebTargetinstance 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.WebTargetWebTarget. path(String path)Create a newWebTargetinstance by appending path to the URI of the current target instance.WebTargetWebTarget. queryParam(String name, Object... values)Create a newWebTargetinstance by configuring a query parameter on the URI of the current target instance.WebTargetWebTarget. resolveTemplate(String name, Object value)Create a newWebTargetinstance by resolving a URI template with a givennamein the URI of the current target instance using a supplied value.WebTargetWebTarget. resolveTemplate(String name, Object value, boolean encodeSlashInPath)Create a newWebTargetinstance by resolving a URI template with a givennamein the URI of the current target instance using a supplied value.WebTargetWebTarget. resolveTemplateFromEncoded(String name, Object value)Create a newWebTargetinstance by resolving a URI template with a givennamein the URI of the current target instance using a supplied encoded value.WebTargetWebTarget. resolveTemplates(Map<String,Object> templateValues)Create a newWebTargetinstance by resolving one or more URI templates in the URI of the current target instance using supplied name-value pairs.WebTargetWebTarget. resolveTemplates(Map<String,Object> templateValues, boolean encodeSlashInPath)Create a newWebTargetinstance by resolving one or more URI templates in the URI of the current target instance using supplied name-value pairs.WebTargetWebTarget. resolveTemplatesFromEncoded(Map<String,Object> templateValues)Create a newWebTargetinstance by resolving one or more URI templates in the URI of the current target instance using supplied name-encoded value pairs.WebTargetClient. target(Link link)Build a new web resource target.WebTargetClient. target(UriBuilder uriBuilder)Build a new web resource target.WebTargetClient. target(String uri)Build a new web resource target.WebTargetClient. 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.BuilderSseEventSource.Builder. target(WebTarget endpoint)static SseEventSource.BuilderSseEventSource. target(WebTarget endpoint)Create a newevent source builderthat provides convenient way how to configure and fine-tune various aspects of a newly prepared event source instance.