Uses of Interface
jakarta.ws.rs.client.Invocation.Builder
| Package | Description |
|---|---|
| jakarta.ws.rs.client |
The JAX-RS client API
|
-
Uses of Invocation.Builder in jakarta.ws.rs.client
Methods in jakarta.ws.rs.client that return Invocation.Builder Modifier and Type Method Description Invocation.BuilderInvocation.Builder. accept(MediaType... mediaTypes)Add the accepted response media types.Invocation.BuilderInvocation.Builder. accept(String... mediaTypes)Add the accepted response media types.Invocation.BuilderInvocation.Builder. acceptEncoding(String... encodings)Add acceptable encodings.Invocation.BuilderInvocation.Builder. acceptLanguage(String... locales)Add acceptable languages.Invocation.BuilderInvocation.Builder. acceptLanguage(Locale... locales)Add acceptable languages.Invocation.BuilderInvocation.Builder. cacheControl(CacheControl cacheControl)Set the cache control data of the message.Invocation.BuilderInvocation.Builder. cookie(Cookie cookie)Add a cookie to be set.Invocation.BuilderInvocation.Builder. cookie(String name, String value)Add a cookie to be set.Invocation.BuilderInvocation.Builder. header(String name, Object value)Add an arbitrary header.Invocation.BuilderInvocation.Builder. headers(MultivaluedMap<String,Object> headers)Replaces all existing headers with the newly supplied headers.Invocation.BuilderClient. invocation(Link link)Build an invocation builder from a link.Invocation.BuilderInvocation.Builder. property(String name, Object value)Set a new property in the context of a request represented by this invocation builder.Invocation.BuilderWebTarget. request()Start building a request to the targeted web resource.Invocation.BuilderWebTarget. request(MediaType... acceptedResponseTypes)Start building a request to the targeted web resource and define the accepted response media types.Invocation.BuilderWebTarget. request(String... acceptedResponseTypes)Start building a request to the targeted web resource and define the accepted response media types.