| Package | Description |
|---|---|
| javax.ws.rs.ext |
APIs that provide extensions to the types supported by the JAX-RS API.
|
| org.glassfish.jersey.internal |
Common Jersey internal API classes.
|
| org.glassfish.jersey.message |
Common Jersey messaging classes.
|
| org.glassfish.jersey.message.internal |
Common Jersey internal messaging classes.
|
| org.glassfish.jersey.server |
Jersey server-side classes.
|
| Modifier and Type | Method and Description |
|---|---|
<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.
|
| Modifier and Type | Method and Description |
|---|---|
<T> MessageBodyWriter<T> |
JaxrsProviders.getMessageBodyWriter(Class<T> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
| Modifier and Type | Method and Description |
|---|---|
<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,
PropertiesDelegate propertiesDelegate)
Get a message body writer that matches a set of criteria.
|
| Modifier and Type | Method and Description |
|---|---|
List<MessageBodyWriter> |
MessageBodyWorkers.getMessageBodyWritersForType(Class<?> type)
Get a list of
MessageBodyWriters that are suitable for the given 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 |
|---|---|
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 | Class and Description |
|---|---|
class |
AbstractCollectionJaxbProvider
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 |
AbstractFormProvider<T>
Abstract base class for form entity types marshalling & un-marshalling support.
|
class |
AbstractJaxbElementProvider
An abstract provider for
JAXBElement. |
class |
AbstractJaxbProvider<T>
A base class for implementing JAXB-based readers and writers.
|
class |
AbstractMessageReaderWriterProvider<T> |
class |
AbstractRootElementJaxbProvider
An abstract provider for JAXB types that are annotated with
XmlRootElement or XmlType. |
class |
ByteArrayProvider
Default Jersey byte array entity provider (reader and writer).
|
class |
DataSourceProvider
Provider for marshalling/un-marshalling of
application/octet-stream
entity type to/from a DataSource instance. |
class |
DocumentProvider
Provider for marshalling/un-marshalling
XML document instances. |
class |
FileProvider
Provider for marshalling/un-marshalling of
application/octet-stream
entity type to/from a File instance. |
class |
FormMultivaluedMapProvider
Provider for marshalling/un-marshalling of
application/x-www-form-urlencoded
entity type to/from multi-valued map instance. |
class |
FormProvider
Provider for marshalling/un-marshalling of
application/x-www-form-urlencoded
entity type to/from JAX-RS Form instance. |
class |
InputStreamProvider |
class |
ReaderProvider |
class |
RenderedImageProvider
|
static class |
SourceProvider.SourceWriter
Provider for marshaling
Source instances. |
class |
StreamingOutputProvider
Message body writer that supports
streaming output marshalling. |
class |
XmlCollectionJaxbProvider
Base XML-based message body provider for collections of JAXB beans.
|
static class |
XmlCollectionJaxbProvider.App
JAXB provider for marshalling/un-marshalling collections
from/to entities of
application/xml media type. |
static class |
XmlCollectionJaxbProvider.General
JAXB provider for marshalling/un-marshalling collections
from/to entities of
<type>/<sub-type>+xml media types. |
static class |
XmlCollectionJaxbProvider.Text
JAXB provider for marshalling/un-marshalling collections
from/to entities of
text/xml media type. |
class |
XmlJaxbElementProvider
Base XML-based message body provider for
JAXB element instances. |
static class |
XmlJaxbElementProvider.App
Provider for marshalling/un-marshalling
JAXB elements
from/to entities of application/xml media type. |
static class |
XmlJaxbElementProvider.General
Provider for marshalling/un-marshalling
JAXB elements
from/to entities of <type>/<sub-type>+xml media types. |
static class |
XmlJaxbElementProvider.Text
Provider for marshalling/un-marshalling
JAXB elements
from/to entities of text/xml media type. |
class |
XmlRootElementJaxbProvider
Base XML-based message body provider for JAXB
root elements
and types. |
static class |
XmlRootElementJaxbProvider.App
Provider for marshalling/un-marshalling JAXB
root element
and type instances from/to entities of application/xml
media type. |
static class |
XmlRootElementJaxbProvider.General
Provider for marshalling/un-marshalling JAXB
root element
and type instances from/to entities of <type>/<sub-type>+xml
media types. |
static class |
XmlRootElementJaxbProvider.Text
Provider for marshalling/un-marshalling JAXB
root element
and type instances from/to entities of text/xml
media type. |
class |
XmlRootObjectJaxbProvider
Base XML-based message body reader for JAXB beans.
|
static class |
XmlRootObjectJaxbProvider.App
Provider for un-marshalling entities of
application/xml media type
into JAXB beans using JAXB unmarshaller. |
static class |
XmlRootObjectJaxbProvider.General
Provider for un-marshalling entities of
<type>/<sub-type>+xml media types
into JAXB beans using JAXB unmarshaller. |
static class |
XmlRootObjectJaxbProvider.Text
Provider for un-marshalling entities of
text/xml media type
into JAXB beans using JAXB unmarshaller. |
| Modifier and Type | Method and Description |
|---|---|
<T> MessageBodyWriter<T> |
MessageBodyFactory.getMessageBodyWriter(Class<T> c,
Type t,
Annotation[] as,
MediaType mediaType) |
<T> MessageBodyWriter<T> |
MessageBodyFactory.getMessageBodyWriter(Class<T> c,
Type t,
Annotation[] as,
MediaType mediaType,
PropertiesDelegate propertiesDelegate) |
| Modifier and Type | Method and Description |
|---|---|
List<MessageBodyWriter> |
MessageBodyFactory.getMessageBodyWritersForType(Class<?> clazz) |
Map<MediaType,List<MessageBodyWriter>> |
MessageBodyFactory.getWriters(MediaType mediaType) |
| Modifier and Type | Method and Description |
|---|---|
String |
MessageBodyFactory.writersToString(Map<MediaType,List<MessageBodyWriter>> writers) |
| Modifier and Type | Class and Description |
|---|---|
class |
ChunkedResponseWriter
Used for writing
ChunkedOutput. |
Copyright © 2007-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.