## Uses of Interface
javax.ws.rs.core.MultivaluedMap

- Packages that use MultivaluedMap
  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.

- - ### Uses of MultivaluedMap in javax.ws.rs.client

    Methods in javax.ws.rs.client that return MultivaluedMap
    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.

    Methods in javax.ws.rs.client with parameters of type MultivaluedMap
    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.

  - ### Uses of MultivaluedMap in javax.ws.rs.container

    Methods in javax.ws.rs.container that return MultivaluedMap
    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.

  - ### Uses of MultivaluedMap in javax.ws.rs.core

    Classes in javax.ws.rs.core that implement MultivaluedMap
    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.

    Methods in javax.ws.rs.core that return MultivaluedMap
    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()` See `Response.getHeaders()`.
    `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.

    Methods in javax.ws.rs.core with parameters of type MultivaluedMap
    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.

    Constructors in javax.ws.rs.core with parameters of type MultivaluedMap
    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`.

  - ### Uses of MultivaluedMap in javax.ws.rs.ext

    Methods in javax.ws.rs.ext that return 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.

    Methods in javax.ws.rs.ext with parameters of type MultivaluedMap
    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 © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.