## Uses of Class
javax.ws.rs.core.Variant

Packages that use Variant
com.sun.jersey.api | Provides support for responses and exceptions.
com.sun.jersey.core.spi.factory | Provides support for factories of particular component types.
com.sun.jersey.spi.container | Provides support for containers and the web application that manages resource classes.
javax.ws.rs.core | Low-level interfaces and annotations used to create RESTful service resources.

Uses of Variant in com.sun.jersey.api

Methods in com.sun.jersey.api with parameters of type Variant

`static

`<E> JResponse.JResponseBuilder<E>`

`

`JResponse.ok(E entity, Variant variant)`
Create a new `JResponse.JResponseBuilder` that contains a representation.

`B` | `JResponse.AJResponseBuilder.variant(Variant variant)` Set representation metadata.

Method parameters in com.sun.jersey.api with type arguments of type Variant

`static

`<E> JResponse.JResponseBuilder<E>`

`

`JResponse.notAcceptable(java.util.List<Variant> variants)`
Create a new `JResponse.JResponseBuilder` for a not acceptable response.

`B` | `JResponse.AJResponseBuilder.variants(java.util.List<Variant> variants)` Add a Vary header that lists the available variants.

Uses of Variant in com.sun.jersey.core.spi.factory

Methods in com.sun.jersey.core.spi.factory that return types with arguments of type Variant
`java.util.List<Variant>` | `VariantListBuilderImpl.build()`

Methods in com.sun.jersey.core.spi.factory with parameters of type Variant
`Response.ResponseBuilder` | `ResponseBuilderImpl.variant(Variant variant)`

Method parameters in com.sun.jersey.core.spi.factory with type arguments of type Variant
`Response.ResponseBuilder` | `ResponseBuilderImpl.variants(java.util.List<Variant> variants)`

Uses of Variant in com.sun.jersey.spi.container

Methods in com.sun.jersey.spi.container that return Variant
`Variant` | `AdaptingContainerRequest.selectVariant(java.util.List<Variant> variants)`
`Variant` | `ContainerRequest.selectVariant(java.util.List<Variant> variants)`

Method parameters in com.sun.jersey.spi.container with type arguments of type Variant
`Variant` | `AdaptingContainerRequest.selectVariant(java.util.List<Variant> variants)`
`Variant` | `ContainerRequest.selectVariant(java.util.List<Variant> variants)`

Uses of Variant in javax.ws.rs.core

Methods in javax.ws.rs.core that return Variant
`Variant` | `Request.selectVariant(java.util.List<Variant> variants)` Select the representation variant that best matches the request.

Methods in javax.ws.rs.core that return types with arguments of type Variant
`abstract java.util.List<Variant>` | `Variant.VariantListBuilder.build()` Build a list of representation variants from the current state of the builder.

Methods in javax.ws.rs.core with parameters of type Variant
`static Response.ResponseBuilder` | `Response.ok(java.lang.Object entity, Variant variant)` Create a new ResponseBuilder that contains a representation.
`abstract Response.ResponseBuilder` | `Response.ResponseBuilder.variant(Variant variant)` Set representation metadata on the ResponseBuilder.

Method parameters in javax.ws.rs.core with type arguments of type Variant
`static Response.ResponseBuilder` | `Response.notAcceptable(java.util.List<Variant> variants)` Create a new ResponseBuilder for a not acceptable response.
`Variant` | `Request.selectVariant(java.util.List<Variant> variants)` Select the representation variant that best matches the request.
`abstract Response.ResponseBuilder` | `Response.ResponseBuilder.variants(java.util.List<Variant> variants)` Add a Vary header that lists the available variants.

Copyright © 2017 Oracle Corporation. All Rights Reserved.