Package | Description |
---|---|
org.glassfish.jersey.client.spi |
Jersey client SPI classes/interfaces.
|
Modifier and Type | Method and Description |
---|---|
InvocationBuilderListener.InvocationBuilderContext |
InvocationBuilderListener.InvocationBuilderContext.accept(javax.ws.rs.core.MediaType... mediaTypes)
Add the accepted response media types.
|
InvocationBuilderListener.InvocationBuilderContext |
InvocationBuilderListener.InvocationBuilderContext.accept(String... mediaTypes)
Add the accepted response media types.
|
InvocationBuilderListener.InvocationBuilderContext |
InvocationBuilderListener.InvocationBuilderContext.acceptEncoding(String... encodings)
Add acceptable encodings.
|
InvocationBuilderListener.InvocationBuilderContext |
InvocationBuilderListener.InvocationBuilderContext.acceptLanguage(Locale... locales)
Add acceptable languages.
|
InvocationBuilderListener.InvocationBuilderContext |
InvocationBuilderListener.InvocationBuilderContext.acceptLanguage(String... locales)
Add acceptable languages.
|
InvocationBuilderListener.InvocationBuilderContext |
InvocationBuilderListener.InvocationBuilderContext.cacheControl(javax.ws.rs.core.CacheControl cacheControl)
Set the cache control data of the message.
|
InvocationBuilderListener.InvocationBuilderContext |
InvocationBuilderListener.InvocationBuilderContext.cookie(javax.ws.rs.core.Cookie cookie)
Add a cookie to be set.
|
InvocationBuilderListener.InvocationBuilderContext |
InvocationBuilderListener.InvocationBuilderContext.cookie(String name,
String value)
Add a cookie to be set.
|
InvocationBuilderListener.InvocationBuilderContext |
InvocationBuilderListener.InvocationBuilderContext.header(String name,
Object value)
Add an arbitrary header.
|
InvocationBuilderListener.InvocationBuilderContext |
InvocationBuilderListener.InvocationBuilderContext.headers(javax.ws.rs.core.MultivaluedMap<String,Object> headers)
Replaces all existing headers with the newly supplied headers.
|
InvocationBuilderListener.InvocationBuilderContext |
InvocationBuilderListener.InvocationBuilderContext.property(String name,
Object value)
Set a new property in the context of a request represented by this invocation builder.
|
Modifier and Type | Method and Description |
---|---|
void |
InvocationBuilderListener.onNewBuilder(InvocationBuilderListener.InvocationBuilderContext context)
Whenever an
Invocation.Builder is created, (i.e. |
Copyright © 2007-2021, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.