| Package | Description |
|---|---|
| jakarta.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.
|
| Constructor and Description |
|---|
WriterModel(MessageBodyWriter provider,
List<MediaType> types,
Boolean custom)
Create new writer 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.SourceWriter
Provider for marshaling
Source instances. |
class |
StreamingOutputProvider
Message body writer that supports
streaming output marshalling. |
| 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<?> type) |
Map<MediaType,List<MessageBodyWriter>> |
MessageBodyFactory.getWriters(MediaType mediaType) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
MessageBodyFactory.isWriteable(MessageBodyWriter<?> provider,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType)
Safely invokes
isWriteable method on the supplied provider. |
| 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-2023, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.