Uses of Interface
org.glassfish.jersey.client.spi.InvocationBuilderListener.InvocationBuilderContext
Packages that use InvocationBuilderListener.InvocationBuilderContext
-
Uses of InvocationBuilderListener.InvocationBuilderContext in org.glassfish.jersey.client.spi
Methods in org.glassfish.jersey.client.spi that return InvocationBuilderListener.InvocationBuilderContextModifier 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.Methods in org.glassfish.jersey.client.spi with parameters of type InvocationBuilderListener.InvocationBuilderContextModifier and TypeMethodDescriptionvoidInvocationBuilderListener.onNewBuilder(InvocationBuilderListener.InvocationBuilderContext context) Whenever anInvocation.Builderis created, (i.e. whenWebTarget.request(),WebTarget.request(String...),WebTarget.request(MediaType...)is called), this method would be invoked.