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(jakarta.ws.rs.core.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 jakarta.ws.rs.core.Variant |
VariantSelector.selectVariant(InboundMessageContext context,
List<jakarta.ws.rs.core.Variant> variants,
org.glassfish.jersey.internal.util.collection.Ref<String> varyHeaderValue)
Select the representation variant that best matches the request.
|
static List<jakarta.ws.rs.core.Variant> |
VariantSelector.selectVariants(InboundMessageContext context,
List<jakarta.ws.rs.core.Variant> variants,
org.glassfish.jersey.internal.util.collection.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-2021, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.