Package | Description |
---|---|
org.glassfish.jersey.client |
Jersey client-side classes.
|
org.glassfish.jersey.message.internal |
Common Jersey internal messaging classes.
|
org.glassfish.jersey.server |
Jersey server-side classes.
|
Modifier and Type | Class and Description |
---|---|
class |
ClientResponse
Jersey client response context.
|
Modifier and Type | Method and Description |
---|---|
InboundMessageContext |
InboundMessageContext.header(String name,
Object value)
Add a new header value.
|
InboundMessageContext |
InboundMessageContext.headers(Map<String,List<String>> newHeaders)
Add new headers.
|
InboundMessageContext |
InboundMessageContext.headers(MultivaluedMap<String,String> newHeaders)
Add new headers.
|
InboundMessageContext |
InboundMessageContext.headers(String name,
Iterable<?> values)
Add new header values.
|
InboundMessageContext |
InboundMessageContext.headers(String name,
Object... values)
Add new header values.
|
InboundMessageContext |
InboundMessageContext.remove(String name)
Remove a header.
|
Modifier and Type | Method and Description |
---|---|
static Variant |
VariantSelector.selectVariant(InboundMessageContext context,
List<Variant> variants,
Ref<String> varyHeaderValue)
Select the representation variant that best matches the request.
|
static List<Variant> |
VariantSelector.selectVariants(InboundMessageContext context,
List<Variant> variants,
Ref<String> varyHeaderValue)
Select possible representation variants in order in which they best matches the request.
|
Modifier and Type | Class and Description |
---|---|
class |
ContainerRequest
Jersey container request context.
|
Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.