Package | Description |
---|---|
jakarta.ws.rs.client |
The JAX-RS client API
|
jakarta.ws.rs.container |
Container-specific JAX-RS API.
|
jakarta.ws.rs.core |
Low-level interfaces and annotations used to create RESTful service resources.
|
jakarta.ws.rs.ext |
APIs that provide extensions to the types supported by the JAX-RS API.
|
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,Object> |
ContainerResponseContext.getHeaders()
Get the mutable response headers multivalued map.
|
MultivaluedMap<String,String> |
ContainerRequestContext.getHeaders()
Get the mutable request 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.
|
Copyright © 2018,2020 Eclipse Foundation.
Use is subject to license terms.