Package | Description |
---|---|
com.sun.jersey.core.provider |
Provides support for provider-related classes.
|
com.sun.jersey.core.provider.jaxb |
Provides support for JAXB-related message body readers and writers.
|
com.sun.jersey.core.spi.factory |
Provides support for factories of particular component types.
|
com.sun.jersey.spi |
Provides support for service providers.
|
javax.ws.rs.ext |
APIs that provide extensions to the types supported by the JAX-RS API.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractMessageReaderWriterProvider<T> |
Modifier and Type | Class and Description |
---|---|
class |
AbstractJAXBElementProvider
An abstract provider for
JAXBElement . |
class |
AbstractJAXBProvider<T>
A base class for implementing JAXB-based readers and writers.
|
class |
AbstractListElementProvider
An abstract provider for
T[] , Collection<T> ,
and its subtypes as long as they have the public default constructor or
are interfaces implemented by one the following classes:
ArrayList
LinkedList
HashSet
TreeSet
Stack
T must be a JAXB type annotated with
XmlRootElement . |
class |
AbstractRootElementProvider
An abstract provider for JAXB types that are annotated with
XmlRootElement or XmlType . |
Modifier and Type | Method and Description |
---|---|
<T> MessageBodyWriter<T> |
MessageBodyFactory.getMessageBodyWriter(java.lang.Class<T> c,
java.lang.reflect.Type t,
java.lang.annotation.Annotation[] as,
MediaType mediaType) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<MediaType,java.util.List<MessageBodyWriter>> |
MessageBodyFactory.getWriters(MediaType mediaType) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
MessageBodyFactory.writersToString(java.util.Map<MediaType,java.util.List<MessageBodyWriter>> writers) |
Modifier and Type | Method and Description |
---|---|
<T> MessageBodyWriter<T> |
MessageBodyWorkers.getMessageBodyWriter(java.lang.Class<T> type,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] annotations,
MediaType mediaType)
Get a message body writer that matches a set of criteria.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<MediaType,java.util.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 |
---|---|
java.lang.String |
MessageBodyWorkers.writersToString(java.util.Map<MediaType,java.util.List<MessageBodyWriter>> writers)
Convert a map media type to list of message body writers to a string.
|
Modifier and Type | Method and Description |
---|---|
<T> MessageBodyWriter<T> |
Providers.getMessageBodyWriter(java.lang.Class<T> type,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] annotations,
MediaType mediaType)
Get a message body writer that matches a set of criteria.
|
Copyright © 2016 Oracle Corporation. All Rights Reserved.