Uses of Interface
org.glassfish.jersey.client.spi.InvocationBuilderListener.InvocationBuilderContext
-
Uses of InvocationBuilderListener.InvocationBuilderContext in org.glassfish.jersey.client.spi
Modifier and TypeMethodDescriptionAdd the accepted response media types.Add the accepted response media types.InvocationBuilderListener.InvocationBuilderContext.acceptEncoding
(String... encodings) Add acceptable encodings.InvocationBuilderListener.InvocationBuilderContext.acceptLanguage
(String... locales) Add acceptable languages.InvocationBuilderListener.InvocationBuilderContext.acceptLanguage
(Locale... locales) Add acceptable languages.InvocationBuilderListener.InvocationBuilderContext.cacheControl
(CacheControl cacheControl) Set the cache control data of the message.Add a cookie to be set.Add a cookie to be set.Add an arbitrary header.InvocationBuilderListener.InvocationBuilderContext.headers
(MultivaluedMap<String, Object> headers) Replaces all existing headers with the newly supplied headers.Set a new property in the context of a request represented by this invocation builder.Modifier and TypeMethodDescriptionvoid
InvocationBuilderListener.onNewBuilder
(InvocationBuilderListener.InvocationBuilderContext context) Whenever anInvocation.Builder
is created, (i.e. whenWebTarget.request()
,WebTarget.request(String...)
,WebTarget.request(MediaType...)
is called), this method would be invoked.