Package | Description |
---|---|
javax.ws.rs.client |
The 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 |
Modifier and Type | Method and Description |
---|---|
Variant |
Entity.getVariant()
Get entity
variant information. |
Modifier and Type | Method and Description |
---|---|
static <T> Entity<T> |
Entity.entity(T entity,
Variant variant)
Create an entity using a supplied content media type.
|
static <T> Entity<T> |
Entity.entity(T entity,
Variant variant,
Annotation[] annotations)
Create an entity using a supplied content media type.
|
Modifier and Type | Method and Description |
---|---|
Variant |
Request.selectVariant(List<Variant> variants)
Select the representation variant that best matches the request.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
Variant |
ServerDrivenNegotiation.getBestMatch(List<Variant> available) |
Modifier and Type | Method and Description |
---|---|
Variant |
ServerDrivenNegotiation.getBestMatch(List<Variant> available) |
Modifier and Type | Method and Description |
---|---|
static List<Variant> |
ProviderHelper.getAvailableVariants(List<MediaType> mediaTypes) |
static List<Variant> |
ProviderHelper.getAvailableVariants(String[] mediaTypes) |
Modifier and Type | Method and Description |
---|---|
Variant |
RequestImpl.selectVariant(List<Variant> variants) |
Modifier and Type | Method and Description |
---|---|
List<Variant> |
VariantListBuilderImpl.build() |
Modifier and Type | Method and Description |
---|---|
Response.ResponseBuilder |
ResponseBuilderImpl.variant(Variant variant) |
Response.ResponseBuilder |
ResponseBuilderImpl.variants(Variant... variants) |
Modifier and Type | Method and Description |
---|---|
static String |
ResponseBuilderImpl.createVaryHeader(List<Variant> variants) |
Variant |
RequestImpl.selectVariant(List<Variant> variants) |
Response.ResponseBuilder |
ResponseBuilderImpl.variants(List<Variant> variants) |
Copyright © 2020 JBoss by Red Hat. All rights reserved.