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.
|
org.glassfish.jersey.client |
Jersey client-side classes.
|
org.glassfish.jersey.client.rx |
Jersey Reactive Client API.
|
org.glassfish.jersey.media.htmljson |
Jersey package with entity provider that allows usage of
net.java.html.json . |
org.glassfish.jersey.media.multipart |
JAX-RS Integration with MIME MultiPart Message Formats
|
org.glassfish.jersey.media.multipart.file |
Provides support for body parts that are file attachments.
|
org.glassfish.jersey.media.sse |
Support for Server Sent events in Jersey.
|
org.glassfish.jersey.message |
Common Jersey messaging classes.
|
org.glassfish.jersey.server |
Jersey server-side classes.
|
org.glassfish.jersey.server.filter |
Provides core server filters.
|
org.glassfish.jersey.server.model |
Jersey server-side application & resource modeling classes.
|
org.glassfish.jersey.server.mvc.spi |
Provides support for view aspect of model view controller and templates that
produce views.
|
org.glassfish.jersey.server.wadl |
Jersey server-side WADL support public classes and interfaces.
|
org.glassfish.jersey.spi |
Common Jersey service provider contract (SPI) classes.
|
Modifier and Type | Method and Description |
---|---|
MediaType |
ClientRequestContext.getMediaType()
Get the media type of the entity.
|
MediaType |
ClientResponseContext.getMediaType()
Get the media type of the entity.
|
MediaType |
Entity.getMediaType()
Get entity media type.
|
Modifier and Type | Method and Description |
---|---|
List<MediaType> |
ClientRequestContext.getAcceptableMediaTypes()
Get a list of media types that are acceptable for the response.
|
Modifier and Type | Method and Description |
---|---|
Invocation.Builder |
Invocation.Builder.accept(MediaType... mediaTypes)
Add the accepted response media types.
|
static <T> Entity<T> |
Entity.entity(T entity,
MediaType mediaType)
Create an entity using a supplied content media type.
|
static <T> Entity<T> |
Entity.entity(T entity,
MediaType mediaType,
Annotation[] annotations)
Create an entity using a supplied content media type.
|
Invocation.Builder |
WebTarget.request(MediaType... acceptedResponseTypes)
Start building a request to the targeted web resource and define the accepted
response media types.
|
void |
ClientRequestContext.setEntity(Object entity,
Annotation[] annotations,
MediaType mediaType)
Set a new message entity, including the attached annotations and the media type.
|
Modifier and Type | Method and Description |
---|---|
MediaType |
ContainerRequestContext.getMediaType()
Get the media type of the entity.
|
MediaType |
ContainerResponseContext.getMediaType()
Get the media type of the entity.
|
Modifier and Type | Method and Description |
---|---|
List<MediaType> |
ContainerRequestContext.getAcceptableMediaTypes()
Get a list of media types that are acceptable for the response.
|
Modifier and Type | Method and Description |
---|---|
void |
ContainerResponseContext.setEntity(Object entity,
Annotation[] annotations,
MediaType mediaType)
Set a new message entity, including the attached annotations and the media type.
|
Modifier and Type | Field and Description |
---|---|
static MediaType |
MediaType.APPLICATION_ATOM_XML_TYPE
A
MediaType constant representing "application/atom+xml" media type. |
static MediaType |
MediaType.APPLICATION_FORM_URLENCODED_TYPE
A
MediaType constant representing "application/x-www-form-urlencoded" media type. |
static MediaType |
MediaType.APPLICATION_JSON_TYPE
A
MediaType constant representing "application/json" media type. |
static MediaType |
MediaType.APPLICATION_OCTET_STREAM_TYPE
A
MediaType constant representing "application/octet-stream" media type. |
static MediaType |
MediaType.APPLICATION_SVG_XML_TYPE
A
MediaType constant representing "application/svg+xml" media type. |
static MediaType |
MediaType.APPLICATION_XHTML_XML_TYPE
A
MediaType constant representing "application/xhtml+xml" media type. |
static MediaType |
MediaType.APPLICATION_XML_TYPE
A
MediaType constant representing "application/xml" media type. |
static MediaType |
MediaType.MULTIPART_FORM_DATA_TYPE
A
MediaType constant representing "multipart/form-data" media type. |
static MediaType |
MediaType.TEXT_HTML_TYPE
A
MediaType constant representing "text/html" media type. |
static MediaType |
MediaType.TEXT_PLAIN_TYPE
A
MediaType constant representing "text/plain" media type. |
static MediaType |
MediaType.TEXT_XML_TYPE
A
MediaType constant representing "text/xml" media type. |
static MediaType |
MediaType.WILDCARD_TYPE
|
Modifier and Type | Method and Description |
---|---|
MediaType |
HttpHeaders.getMediaType()
Get the media type of the request entity.
|
abstract MediaType |
Response.getMediaType()
Get the media type of the message entity.
|
MediaType |
Variant.getMediaType()
Get the media type of the variant.
|
static MediaType |
MediaType.valueOf(String type)
Creates a new instance of
MediaType by parsing the supplied string. |
MediaType |
MediaType.withCharset(String charset)
Create a new
MediaType instance with the same type, subtype and parameters
copied from the original instance and the supplied "charset" parameter. |
Modifier and Type | Method and Description |
---|---|
List<MediaType> |
HttpHeaders.getAcceptableMediaTypes()
Get a list of media types that are acceptable for the response.
|
Modifier and Type | Method and Description |
---|---|
boolean |
MediaType.isCompatible(MediaType other)
Check if this media type is compatible with another media type.
|
static Variant.VariantListBuilder |
Variant.mediaTypes(MediaType... mediaTypes)
Create a
Variant.VariantListBuilder initialized with a set of supported
media types. |
abstract Variant.VariantListBuilder |
Variant.VariantListBuilder.mediaTypes(MediaType... mediaTypes)
Set the media type(s) for this variant.
|
static Response.ResponseBuilder |
Response.ok(Object entity,
MediaType type)
Create a new ResponseBuilder that contains a representation.
|
abstract Response.ResponseBuilder |
Response.ResponseBuilder.type(MediaType type)
Set the message entity media type.
|
Constructor and Description |
---|
Variant(MediaType mediaType,
Locale language,
String encoding)
Create a new instance of Variant.
|
Variant(MediaType mediaType,
String language,
String encoding)
Create a new instance of Variant.
|
Variant(MediaType mediaType,
String language,
String country,
String encoding)
Create a new instance of Variant.
|
Variant(MediaType mediaType,
String language,
String country,
String languageVariant,
String encoding)
Create a new instance of Variant.
|
Modifier and Type | Method and Description |
---|---|
MediaType |
InterceptorContext.getMediaType()
Get media type of HTTP entity.
|
Modifier and Type | Method and Description |
---|---|
<T> ContextResolver<T> |
Providers.getContextResolver(Class<T> contextType,
MediaType mediaType)
Get a context resolver for a particular type of context and media type.
|
<T> MessageBodyReader<T> |
Providers.getMessageBodyReader(Class<T> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType)
Get a message body reader that matches a set of criteria.
|
<T> MessageBodyWriter<T> |
Providers.getMessageBodyWriter(Class<T> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType)
Get a message body writer that matches a set of criteria.
|
long |
MessageBodyWriter.getSize(T t,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType)
Originally, the method has been called before
writeTo to ascertain the length in bytes of
the serialized form of t . |
boolean |
MessageBodyReader.isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType)
Ascertain if the MessageBodyReader can produce an instance of a
particular type.
|
boolean |
MessageBodyWriter.isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType)
Ascertain if the MessageBodyWriter supports a particular type.
|
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 |
InterceptorContext.setMediaType(MediaType mediaType)
Update media type of HTTP entity.
|
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.
|
Modifier and Type | Method and Description |
---|---|
MediaType |
ChunkedInput.getChunkType()
Get chunk data media type.
|
Modifier and Type | Method and Description |
---|---|
void |
ClientRequest.accept(MediaType... types)
Add new accepted types to the message headers.
|
JerseyInvocation.Builder |
JerseyInvocation.Builder.accept(MediaType... mediaTypes) |
JerseyInvocation.Builder |
JerseyWebTarget.request(MediaType... acceptedResponseTypes) |
void |
ChunkedInput.setChunkType(MediaType mediaType)
Set custom chunk data media type.
|
void |
ClientRequest.type(MediaType type)
Set message content type.
|
Constructor and Description |
---|
ChunkedInput(Type chunkType,
InputStream inputStream,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> headers,
MessageBodyWorkers messageBodyWorkers,
org.glassfish.jersey.internal.PropertiesDelegate propertiesDelegate)
Package-private constructor used by the
ChunkedInputReader . |
Modifier and Type | Method and Description |
---|---|
RxInvocationBuilder<RX> |
RxInvocationBuilder.accept(MediaType... mediaTypes) |
RxInvocationBuilder<RX> |
RxWebTarget.request(MediaType... acceptedResponseTypes) |
Modifier and Type | Method and Description |
---|---|
long |
HtmlJsonProvider.getSize(Object t,
Class type,
Type type1,
Annotation[] antns,
MediaType mt) |
boolean |
HtmlJsonProvider.isReadable(Class<?> type,
Type type1,
Annotation[] antns,
MediaType mt) |
boolean |
HtmlJsonProvider.isWriteable(Class clazz,
Type type,
Annotation[] antns,
MediaType mt) |
Object |
HtmlJsonProvider.readFrom(Class<Object> clazz,
Type type,
Annotation[] antns,
MediaType mt,
MultivaluedMap<String,String> mm,
InputStream in) |
void |
HtmlJsonProvider.writeTo(Object t,
Class type,
Type type1,
Annotation[] antns,
MediaType mt,
MultivaluedMap mm,
OutputStream out) |
Modifier and Type | Field and Description |
---|---|
static MediaType |
MultiPartMediaTypes.MULTIPART_ALTERNATIVE_TYPE
"multipart/alternative"
|
static MediaType |
MultiPartMediaTypes.MULTIPART_DIGEST_TYPE
"multipart/digest"
|
static MediaType |
MultiPartMediaTypes.MULTIPART_MIXED_TYPE
"multipart/mixed"
|
static MediaType |
MultiPartMediaTypes.MULTIPART_PARELLEL_TYPE
"multipart/parallel"
|
Modifier and Type | Method and Description |
---|---|
static MediaType |
Boundary.addBoundary(MediaType mediaType)
Transforms a media type and add a boundary parameter with a unique value
if one is not already present.
|
static MediaType |
MultiPartMediaTypes.createAlternative() |
static MediaType |
MultiPartMediaTypes.createDigest() |
static MediaType |
MultiPartMediaTypes.createFormData() |
static MediaType |
MultiPartMediaTypes.createMixed() |
static MediaType |
MultiPartMediaTypes.createParallel() |
MediaType |
BodyPart.getMediaType()
|
Modifier and Type | Method and Description |
---|---|
static MediaType |
Boundary.addBoundary(MediaType mediaType)
Transforms a media type and add a boundary parameter with a unique value
if one is not already present.
|
MultiPart |
MultiPart.bodyPart(Object entity,
MediaType mediaType)
|
FormDataMultiPart |
FormDataMultiPart.field(String name,
Object entity,
MediaType mediaType)
Builder pattern method to add a named field with an arbitrary
media type and entity, and return this instance.
|
void |
BodyPart.setMediaType(MediaType mediaType)
|
void |
FormDataMultiPart.setMediaType(MediaType mediaType)
Disables changing the media type to anything other than
multipart/form-data . |
void |
MultiPart.setMediaType(MediaType mediaType)
|
void |
FormDataBodyPart.setValue(MediaType mediaType,
Object value)
Sets the field media type and value for this body part.
|
BodyPart |
BodyPart.type(MediaType type)
Builder pattern method to return this
BodyPart after additional configuration. |
MultiPart |
MultiPart.type(MediaType type)
Builder pattern method to return this
MultiPart after
additional configuration. |
Constructor and Description |
---|
BodyPart(MediaType mediaType)
Instantiates a new
BodyPart with the specified characteristics. |
BodyPart(Object entity,
MediaType mediaType)
Instantiates a new
BodyPart with the specified characteristics. |
FormDataBodyPart(FormDataContentDisposition formDataContentDisposition,
Object entity,
MediaType mediaType)
Instantiates a named
FormDataBodyPart with the
specified characteristics. |
FormDataBodyPart(MediaType mediaType)
Instantiates an unnamed
FormDataBodyPart with the
specified characteristics. |
FormDataBodyPart(Object entity,
MediaType mediaType)
Instantiates an unnamed
FormDataBodyPart with the
specified characteristics. |
FormDataBodyPart(String name,
Object entity,
MediaType mediaType)
Instantiates a named
FormDataBodyPart with the
specified characteristics. |
MultiPart(MediaType mediaType)
Instantiates a new
MultiPart with the specified characteristics. |
Modifier and Type | Method and Description |
---|---|
protected static MediaType |
StreamDataBodyPart.getDefaultMediaType()
Gets the default
MediaType to be used if the user didn't specify
any. |
MediaType |
DefaultMediaTypePredictor.CommonMediaTypes.getMediaType()
Gets the media type.
|
MediaType |
MediaTypePredictor.getMediaTypeFromFile(File file)
Get the media type from a file name.
|
MediaType |
DefaultMediaTypePredictor.getMediaTypeFromFile(File file) |
static MediaType |
DefaultMediaTypePredictor.CommonMediaTypes.getMediaTypeFromFile(File file)
A utility method for predicting media type from a file name.
|
MediaType |
MediaTypePredictor.getMediaTypeFromFileName(String fileName)
Get the media type from a file name.
|
MediaType |
DefaultMediaTypePredictor.getMediaTypeFromFileName(String fileName) |
static MediaType |
DefaultMediaTypePredictor.CommonMediaTypes.getMediaTypeFromFileName(String fileName)
A utility method for predicting media type from a file name.
|
protected MediaType |
FileDataBodyPart.predictMediaType()
Predicts the media type of the current fileEntity.
|
protected MediaType |
FileDataBodyPart.predictMediaType(File file)
Predicts the media type of the provided
File . |
Modifier and Type | Method and Description |
---|---|
void |
FileDataBodyPart.setFileEntity(File fileEntity,
MediaType mediaType)
Sets the
MediaType and fileEntity for this FormDataBodyPart . |
void |
StreamDataBodyPart.setStreamEntity(InputStream streamEntity,
MediaType mediaType)
Allows to explicitly set the value and the MIME type of the body part
entity.
|
void |
FileDataBodyPart.setValue(MediaType mediaType,
Object value)
This operation is not supported from this implementation.
|
void |
StreamDataBodyPart.setValue(MediaType mediaType,
Object value)
This operation is not supported from this implementation.
|
Constructor and Description |
---|
FileDataBodyPart(String name,
File fileEntity,
MediaType mediaType)
Constructs the body part with all the attributes set for its proper
function.
|
StreamDataBodyPart(String name,
InputStream streamEntity,
String filename,
MediaType mediaType)
All-arguments constructor with all requested parameters set by the
caller.
|
Modifier and Type | Field and Description |
---|---|
static MediaType |
SseFeature.SERVER_SENT_EVENTS_TYPE
Server sent events media type.
|
Modifier and Type | Method and Description |
---|---|
MediaType |
OutboundEvent.getMediaType()
Get
media type of the event data. |
Modifier and Type | Method and Description |
---|---|
OutboundEvent.Builder |
OutboundEvent.Builder.mediaType(MediaType mediaType)
Set the
media type of the event data. |
<T> T |
InboundEvent.readData(Class<T> messageType,
MediaType mediaType)
Read event data as a given Java type.
|
<T> T |
InboundEvent.readData(GenericType<T> type,
MediaType mediaType)
Read event data as a given generic type.
|
Modifier and Type | Method and Description |
---|---|
MediaType |
MessageBodyWorkers.getMessageBodyWriterMediaType(Class<?> type,
Type genericType,
Annotation[] annotations,
List<MediaType> acceptableMediaTypes)
Get the most acceptable media type supported for a Java type given a set of
acceptable media types.
|
Modifier and Type | Method and Description |
---|---|
List<MediaType> |
MessageBodyWorkers.getMessageBodyReaderMediaTypes(Class<?> type,
Type genericType,
Annotation[] annotations)
Get the list of media types supported for a Java type.
|
List<MediaType> |
MessageBodyWorkers.getMessageBodyReaderMediaTypesByType(Class<?> type)
Get the list of media types supported for a Java type.
|
List<MediaType> |
MessageBodyWorkers.getMessageBodyWriterMediaTypes(Class<?> type,
Type genericType,
Annotation[] annotations)
Get the list of media types supported for a Java type.
|
List<MediaType> |
MessageBodyWorkers.getMessageBodyWriterMediaTypesByType(Class<?> type)
Get the list of media types supported for a Java type.
|
Map<MediaType,List<MessageBodyReader>> |
MessageBodyWorkers.getReaders(MediaType mediaType)
Get the map of media type to list of message body writers that are compatible with
a media type.
|
Map<MediaType,List<MessageBodyWriter>> |
MessageBodyWorkers.getWriters(MediaType mediaType)
Get the map of media type to list of message body writers that are compatible with
a media type.
|
Modifier and Type | Method and Description |
---|---|
static Charset |
MessageUtils.getCharset(MediaType m)
Get the character set from a media type.
|
<T> MessageBodyReader<T> |
MessageBodyWorkers.getMessageBodyReader(Class<T> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType)
Get a message body reader that matches a set of criteria.
|
<T> MessageBodyReader<T> |
MessageBodyWorkers.getMessageBodyReader(Class<T> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
org.glassfish.jersey.internal.PropertiesDelegate propertiesDelegate)
Get a message body reader that matches a set of criteria.
|
<T> MessageBodyWriter<T> |
MessageBodyWorkers.getMessageBodyWriter(Class<T> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType)
Get a message body writer that matches a set of criteria.
|
<T> MessageBodyWriter<T> |
MessageBodyWorkers.getMessageBodyWriter(Class<T> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
org.glassfish.jersey.internal.PropertiesDelegate propertiesDelegate)
Get a message body writer that matches a set of criteria.
|
Map<MediaType,List<MessageBodyReader>> |
MessageBodyWorkers.getReaders(MediaType mediaType)
Get the map of media type to list of message body writers that are compatible with
a media type.
|
Map<MediaType,List<MessageBodyWriter>> |
MessageBodyWorkers.getWriters(MediaType mediaType)
Get the map of media type to list of message body writers that are compatible with
a media type.
|
Object |
MessageBodyWorkers.readFrom(Class<?> rawType,
Type type,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
org.glassfish.jersey.internal.PropertiesDelegate propertiesDelegate,
InputStream entityStream,
Iterable<ReaderInterceptor> readerInterceptors,
boolean translateNce)
Reads a type from the
entityStream using interceptors. |
OutputStream |
MessageBodyWorkers.writeTo(Object entity,
Class<?> rawType,
Type type,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
org.glassfish.jersey.internal.PropertiesDelegate propertiesDelegate,
OutputStream entityStream,
Iterable<WriterInterceptor> writerInterceptors)
Writers a type to the
entityStream using interceptors. |
Modifier and Type | Method and Description |
---|---|
MediaType |
MessageBodyWorkers.getMessageBodyWriterMediaType(Class<?> type,
Type genericType,
Annotation[] annotations,
List<MediaType> acceptableMediaTypes)
Get the most acceptable media type supported for a Java type given a set of
acceptable media types.
|
String |
MessageBodyWorkers.readersToString(Map<MediaType,List<MessageBodyReader>> readers)
Convert a map media type to list of message body readers to a string.
|
String |
MessageBodyWorkers.writersToString(Map<MediaType,List<MessageBodyWriter>> writers)
Convert a map media type to list of message body writers to a string.
|
Modifier and Type | Method and Description |
---|---|
MediaType |
ContainerResponse.getMediaType() |
Modifier and Type | Method and Description |
---|---|
List<MediaType> |
ContainerRequest.getAcceptableMediaTypes() |
Modifier and Type | Method and Description |
---|---|
long |
ChunkedResponseWriter.getSize(ChunkedOutput<?> chunkedOutput,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
ChunkedResponseWriter.isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
void |
ContainerResponse.setEntity(Object entity,
Annotation[] annotations,
MediaType mediaType) |
void |
ContainerResponse.setMediaType(MediaType mediaType)
Set the message content media type.
|
void |
ChunkedResponseWriter.writeTo(ChunkedOutput<?> chunkedOutput,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
Modifier and Type | Field and Description |
---|---|
protected Map<String,MediaType> |
UriConnegFilter.mediaTypeMappings |
Constructor and Description |
---|
UriConnegFilter(Map<String,MediaType> mediaTypeMappings,
Map<String,String> languageMappings)
Create a filter with suffix to media type mappings and suffix to
language mappings.
|
Modifier and Type | Method and Description |
---|---|
List<MediaType> |
Consuming.getConsumedTypes()
Get the consumed media types supported by the component.
|
List<MediaType> |
ResourceMethod.getConsumedTypes() |
List<MediaType> |
Producing.getProducedTypes()
Get the produced media types supported by the component.
|
List<MediaType> |
ResourceMethod.getProducedTypes() |
Modifier and Type | Method and Description |
---|---|
ResourceMethod.Builder |
ResourceMethod.Builder.consumes(MediaType... types)
Add consumed media types supported by the component.
|
ResourceMethod.Builder |
ResourceMethod.Builder.produces(MediaType... types)
Add produced media types supported by the component.
|
Modifier and Type | Method and Description |
---|---|
ResourceMethod.Builder |
ResourceMethod.Builder.consumes(Collection<MediaType> types)
Add consumed media types supported by the component.
|
ResourceMethod.Builder |
ResourceMethod.Builder.produces(Collection<MediaType> types)
Add produced media types supported by the component.
|
Modifier and Type | Method and Description |
---|---|
MediaType |
ResolvedViewable.getMediaType()
Get the media type for which the
view processor resolved the template reference. |
Modifier and Type | Method and Description |
---|---|
T |
TemplateProcessor.resolve(String name,
MediaType mediaType)
Resolve a template name to a template reference.
|
T |
AbstractTemplateProcessor.resolve(String name,
MediaType mediaType) |
ResolvedViewable |
ViewableContext.resolveViewable(Viewable viewable,
MediaType mediaType,
Class<?> resourceClass,
TemplateProcessor templateProcessor)
|
protected Charset |
AbstractTemplateProcessor.setContentType(MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders)
Set the
HttpHeaders.CONTENT_TYPE header to the httpHeaders based on mediaType and
default encoding defined in this processor. |
void |
TemplateProcessor.writeTo(T templateReference,
Viewable viewable,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream out)
Process a template and write the result to an output stream.
|
Constructor and Description |
---|
ResolvedViewable(TemplateProcessor<T> viewProcessor,
T templateReference,
Viewable viewable,
Class<?> resolvingClass,
MediaType mediaType)
Create a resolved viewable.
|
ResolvedViewable(TemplateProcessor<T> viewProcessor,
T templateReference,
Viewable viewable,
MediaType mediaType)
Create a resolved viewable.
|
Modifier and Type | Method and Description |
---|---|
Representation |
WadlGenerator.createRequestRepresentation(Resource r,
ResourceMethod m,
MediaType mediaType) |
Modifier and Type | Method and Description |
---|---|
<T> ContextResolver<T> |
ContextResolvers.resolve(Type type,
MediaType mediaType)
Get
ContextResolver<T> instance for a given type
and media type. |
Copyright © 2007-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.