| Package | Description |
|---|---|
| javax.ws.rs.client |
The JAX-RS client API
|
| javax.ws.rs.container |
Container-specific JAX-RS API.
|
| javax.ws.rs.core |
Low-level interfaces and annotations used to create RESTful service
resources.
|
| javax.ws.rs.ext |
APIs that provide extensions to the types supported by the JAX-RS API.
|
| org.glassfish.jersey.client |
Jersey client-side classes.
|
| org.glassfish.jersey.message |
Common Jersey messaging classes.
|
| org.glassfish.jersey.server |
Jersey server-side classes.
|
| org.glassfish.jersey.uri |
Common Jersey classes that provide support for JAX-RS URI templates and
encoding/decoding of URI components.
|
| Modifier and Type | Method and Description |
|---|---|
MultivaluedMap<String,String> |
ClientResponseContext.getHeaders()
Get the mutable response headers multivalued map.
|
MultivaluedMap<String,Object> |
ClientRequestContext.getHeaders()
Get the mutable request headers multivalued map.
|
MultivaluedMap<String,String> |
ClientRequestContext.getStringHeaders()
Get a string view of header values associated with the message.
|
| Modifier and Type | Method and Description |
|---|---|
static Entity<Form> |
Entity.form(MultivaluedMap<String,String> formData)
Create an "application/x-www-form-urlencoded"
form entity.
|
Invocation.Builder |
Invocation.Builder.headers(MultivaluedMap<String,Object> headers)
Replaces all existing headers with the newly supplied headers.
|
| Modifier and Type | Method and Description |
|---|---|
MultivaluedMap<String,String> |
ContainerRequestContext.getHeaders()
Get the mutable request headers multivalued map.
|
MultivaluedMap<String,Object> |
ContainerResponseContext.getHeaders()
Get the mutable response headers multivalued map.
|
MultivaluedMap<String,String> |
ContainerResponseContext.getStringHeaders()
Get a string view of header values associated with the message.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractMultivaluedMap<K,V>
Abstract skeleton implementation of a
MultivaluedMap that is backed
by a [key, multi-value] store represented as a Map<K, List<V>>. |
class |
MultivaluedHashMap<K,V>
A hash table based implementation of
MultivaluedMap interface. |
| Modifier and Type | Method and Description |
|---|---|
MultivaluedMap<String,String> |
Form.asMap()
Returns multivalued map representation of the form.
|
MultivaluedMap<String,Object> |
Response.getHeaders()
Get view of the response headers and their object values.
|
MultivaluedMap<String,String> |
PathSegment.getMatrixParameters()
Get a map of the matrix parameters associated with the path segment.
|
abstract MultivaluedMap<String,Object> |
Response.getMetadata()
|
MultivaluedMap<String,String> |
UriInfo.getPathParameters()
Get the values of any embedded URI template parameters.
|
MultivaluedMap<String,String> |
UriInfo.getPathParameters(boolean decode)
Get the values of any embedded URI template parameters.
|
MultivaluedMap<String,String> |
UriInfo.getQueryParameters()
Get the URI query parameters of the current request.
|
MultivaluedMap<String,String> |
UriInfo.getQueryParameters(boolean decode)
Get the URI query parameters of the current request.
|
MultivaluedMap<String,String> |
HttpHeaders.getRequestHeaders()
Get the values of HTTP request headers.
|
abstract MultivaluedMap<String,String> |
Response.getStringHeaders()
Get view of the response headers and their string values.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
MultivaluedMap.equalsIgnoreValueOrder(MultivaluedMap<K,V> otherMap)
Compare the specified map with this map for equality modulo the order
of values for each key.
|
boolean |
AbstractMultivaluedMap.equalsIgnoreValueOrder(MultivaluedMap<K,V> omap) |
abstract Response.ResponseBuilder |
Response.ResponseBuilder.replaceAll(MultivaluedMap<String,Object> headers)
Replaces all existing headers with the newly supplied headers.
|
| Constructor and Description |
|---|
Form(MultivaluedMap<String,String> store)
Create a new form data instance and register a custom underlying parameter store.
|
MultivaluedHashMap(MultivaluedMap<? extends K,? extends V> map)
Constructs a new multivalued hash map with the same mappings as the
specified
MultivaluedMap. |
| Modifier and Type | Method and Description |
|---|---|
MultivaluedMap<String,Object> |
WriterInterceptorContext.getHeaders()
Get mutable map of HTTP headers.
|
MultivaluedMap<String,String> |
ReaderInterceptorContext.getHeaders()
Get mutable map of HTTP headers.
|
| Modifier and Type | Method and Description |
|---|---|
T |
MessageBodyReader.readFrom(Class<T> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream)
Read a type from the
InputStream. |
void |
MessageBodyWriter.writeTo(T t,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream)
Write a type to an HTTP message.
|
| Modifier and Type | Method and Description |
|---|---|
JerseyInvocation.Builder |
JerseyInvocation.Builder.headers(MultivaluedMap<String,Object> headers) |
| Constructor and Description |
|---|
ChunkedInput(Type chunkType,
InputStream inputStream,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> headers,
MessageBodyWorkers messageBodyWorkers,
org.glassfish.jersey.internal.PropertiesDelegate propertiesDelegate)
Package-private constructor used by the
ChunkedInputReader. |
| Modifier and Type | Method and Description |
|---|---|
Object |
MessageBodyWorkers.readFrom(Class<?> rawType,
Type type,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
org.glassfish.jersey.internal.PropertiesDelegate propertiesDelegate,
InputStream entityStream,
Iterable<ReaderInterceptor> readerInterceptors,
boolean translateNce)
Reads a type from the
entityStream using interceptors. |
OutputStream |
MessageBodyWorkers.writeTo(Object entity,
Class<?> rawType,
Type type,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
org.glassfish.jersey.internal.PropertiesDelegate propertiesDelegate,
OutputStream entityStream,
Iterable<WriterInterceptor> writerInterceptors)
Writers a type to the
entityStream using interceptors. |
| Modifier and Type | Method and Description |
|---|---|
MultivaluedMap<String,Object> |
ContainerResponse.getHeaders() |
MultivaluedMap<String,String> |
ContainerRequest.getRequestHeaders()
Get the values of HTTP request headers.
|
MultivaluedMap<String,String> |
ContainerResponse.getStringHeaders() |
| Modifier and Type | Method and Description |
|---|---|
void |
ChunkedResponseWriter.writeTo(ChunkedOutput<?> chunkedOutput,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
| Modifier and Type | Method and Description |
|---|---|
static MultivaluedMap<String,String> |
UriComponent.decodeMatrix(String pathSegment,
boolean decode)
Decode the matrix component of a URI path segment.
|
static MultivaluedMap<String,String> |
UriComponent.decodeQuery(String q,
boolean decode)
Decode the query component of a URI.
|
static MultivaluedMap<String,String> |
UriComponent.decodeQuery(String q,
boolean decodeNames,
boolean decodeValues)
Decode the query component of a URI.
|
static MultivaluedMap<String,String> |
UriComponent.decodeQuery(URI u,
boolean decode)
Decode the query component of a URI.
|
Copyright © 2007-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.