| Package | Description |
|---|---|
| javax.ws.rs.ext |
APIs that provide extensions to the types supported by the 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.
|
| Modifier and Type | Method and Description |
|---|---|
<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.
|
| Modifier and Type | Method and Description |
|---|---|
<T> MessageBodyReader<T> |
JaxrsProviders.getMessageBodyReader(Class<T> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
| Modifier and Type | Method and Description |
|---|---|
<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,
PropertiesDelegate propertiesDelegate)
Get a message body reader that matches a set of criteria.
|
| Modifier and Type | Method and Description |
|---|---|
List<MessageBodyReader> |
MessageBodyWorkers.getMessageBodyReadersForType(Class<?> type)
Get a list of
MessageBodyReaders that are suitable for the given 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.
|
| Modifier and Type | Method and Description |
|---|---|
String |
MessageBodyWorkers.readersToString(Map<MediaType,List<MessageBodyReader>> readers)
Convert a map media type to list of message body readers to a string.
|
| Constructor and Description |
|---|
ReaderModel(MessageBodyReader provider,
List<MediaType> types,
Boolean custom)
Create new reader model instance.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractFormProvider<T>
Abstract base class for form entity types marshalling & un-marshalling support.
|
class |
AbstractMessageReaderWriterProvider<T>
Abstract entity provider (reader and writer) base class.
|
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 |
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.DomSourceReader
Provider for marshalling/un-marshalling
DOMSource instances. |
static class |
SourceProvider.SaxSourceReader
Provider for un-marshalling
SAXSource instances. |
static class |
SourceProvider.StreamSourceReader
Provider for un-marshalling
StreamSource instances. |
| Modifier and Type | Method and Description |
|---|---|
<T> MessageBodyReader<T> |
MessageBodyFactory.getMessageBodyReader(Class<T> c,
Type t,
Annotation[] as,
MediaType mediaType) |
<T> MessageBodyReader<T> |
MessageBodyFactory.getMessageBodyReader(Class<T> c,
Type t,
Annotation[] as,
MediaType mediaType,
PropertiesDelegate propertiesDelegate) |
| Modifier and Type | Method and Description |
|---|---|
List<MessageBodyReader> |
MessageBodyFactory.getMessageBodyReadersForType(Class<?> type) |
Map<MediaType,List<MessageBodyReader>> |
MessageBodyFactory.getReaders(MediaType mediaType) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
MessageBodyFactory.isReadable(MessageBodyReader<?> provider,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType)
Safely invokes
isReadable method on the supplied provider. |
| Modifier and Type | Method and Description |
|---|---|
String |
MessageBodyFactory.readersToString(Map<MediaType,List<MessageBodyReader>> readers) |
Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.