Package | Description |
---|---|
javax.ws.rs.ext |
APIs that provide extensions to the types supported by the JAX-RS API.
|
org.glassfish.jersey.media.htmljson |
Jersey package with entity provider that allows usage of
net.java.html.json . |
org.glassfish.jersey.message |
Common Jersey 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 | Class and Description |
---|---|
class |
HtmlJsonProvider
Implementation of Jersey's message body reader and writer that
can handle reading and writing of JSON models generated by
Model
annotation provided by
net.java.html.json
library. |
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,
org.glassfish.jersey.internal.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
MessageBodyWriter s 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 |
ChunkedResponseWriter
Used for writing
ChunkedOutput . |
Copyright © 2007-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.