|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Variant | |
|---|---|
| javax.ws.rs.client | The JAX-RS client API |
| javax.ws.rs.core | Low-level interfaces and annotations used to create RESTful service resources. |
| org.jboss.resteasy.core.request | |
| org.jboss.resteasy.plugins.providers | |
| org.jboss.resteasy.specimpl | |
| Uses of Variant in javax.ws.rs.client |
|---|
| Methods in javax.ws.rs.client that return Variant | |
|---|---|
Variant |
Entity.getVariant()
Get entity variant information. |
| Methods in javax.ws.rs.client with parameters of type Variant | ||
|---|---|---|
static
|
Entity.entity(T entity,
Variant variant)
Create an entity using a supplied content media type. |
|
static
|
Entity.entity(T entity,
Variant variant,
Annotation[] annotations)
Create an entity using a supplied content media type. |
|
| Uses of Variant in javax.ws.rs.core |
|---|
| Methods in javax.ws.rs.core that return Variant | |
|---|---|
Variant |
Request.selectVariant(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 List<Variant> |
Variant.VariantListBuilder.build()
Add the current combination of metadata to the list of supported variants (provided the current combination of metadata is not empty) and 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(Object entity,
Variant variant)
Create a new ResponseBuilder that contains a representation. |
abstract Response.ResponseBuilder |
Response.ResponseBuilder.variant(Variant variant)
Set message entity representation metadata. |
abstract Response.ResponseBuilder |
Response.ResponseBuilder.variants(Variant... variants)
Add a Vary header that lists the available variants. |
| Method parameters in javax.ws.rs.core with type arguments of type Variant | |
|---|---|
static Response.ResponseBuilder |
Response.notAcceptable(List<Variant> variants)
Create a new ResponseBuilder for a not acceptable response. |
Variant |
Request.selectVariant(List<Variant> variants)
Select the representation variant that best matches the request. |
abstract Response.ResponseBuilder |
Response.ResponseBuilder.variants(List<Variant> variants)
Add a Vary header that lists the available variants. |
| Uses of Variant in org.jboss.resteasy.core.request |
|---|
| Methods in org.jboss.resteasy.core.request that return Variant | |
|---|---|
Variant |
ServerDrivenNegotiation.getBestMatch(List<Variant> available)
|
| Method parameters in org.jboss.resteasy.core.request with type arguments of type Variant | |
|---|---|
Variant |
ServerDrivenNegotiation.getBestMatch(List<Variant> available)
|
| Uses of Variant in org.jboss.resteasy.plugins.providers |
|---|
| Methods in org.jboss.resteasy.plugins.providers that return types with arguments of type Variant | |
|---|---|
static List<Variant> |
ProviderHelper.getAvailableVariants(List<MediaType> mediaTypes)
|
static List<Variant> |
ProviderHelper.getAvailableVariants(String[] mediaTypes)
|
| Uses of Variant in org.jboss.resteasy.specimpl |
|---|
| Methods in org.jboss.resteasy.specimpl that return Variant | |
|---|---|
Variant |
RequestImpl.selectVariant(List<Variant> variants)
|
| Methods in org.jboss.resteasy.specimpl that return types with arguments of type Variant | |
|---|---|
List<Variant> |
VariantListBuilderImpl.build()
|
| Methods in org.jboss.resteasy.specimpl with parameters of type Variant | |
|---|---|
Response.ResponseBuilder |
ResponseBuilderImpl.variant(Variant variant)
|
Response.ResponseBuilder |
ResponseBuilderImpl.variants(Variant... variants)
|
| Method parameters in org.jboss.resteasy.specimpl with type arguments of type Variant | |
|---|---|
static String |
ResponseBuilderImpl.createVaryHeader(List<Variant> variants)
|
Variant |
RequestImpl.selectVariant(List<Variant> variants)
|
Response.ResponseBuilder |
ResponseBuilderImpl.variants(List<Variant> variants)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||