Modifier and Type | Method and Description |
---|---|
protected abstract MAPPER |
ProviderBase._locateMapperViaProvider(Class<?> type,
MediaType mediaType) |
protected JsonEncoding |
ProviderBase.findEncoding(MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders)
Helper method to use for determining desired output encoding.
|
long |
ProviderBase.getSize(Object value,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType)
Method that JAX-RS container calls to try to figure out
serialized length of given value.
|
protected abstract boolean |
ProviderBase.hasMatchingMediaType(MediaType mediaType)
Helper method used to check whether given media type
is supported by this provider.
|
protected boolean |
ProviderBase.hasMatchingMediaTypeForReading(MediaType mediaType)
Helper method used to check whether given media type
is supported by this provider for read operations
(when binding input data such as POST body).
|
protected boolean |
ProviderBase.hasMatchingMediaTypeForWriting(MediaType mediaType)
Helper method used to check whether given media type
is supported by this provider for writing operations,
such as when converting response object to response
body of request (like GET or POST).
|
boolean |
ProviderBase.isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType)
Method that JAX-RS container calls to try to check whether
values of given type (and media type) can be deserialized by
this provider.
|
boolean |
ProviderBase.isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType)
Method that JAX-RS container calls to try to check whether
given value (of specified type) can be serialized by
this provider.
|
MAPPER |
ProviderBase.locateMapper(Class<?> type,
MediaType mediaType)
Method called to locate
ObjectMapper to use for serialization
and deserialization. |
Object |
ProviderBase.readFrom(Class<Object> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream)
Method that JAX-RS container calls to deserialize given value.
|
void |
ProviderBase.writeTo(Object value,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream)
Method that JAX-RS container calls to serialize given value.
|
Modifier and Type | Method and Description |
---|---|
protected ObjectMapper |
JacksonJsonProvider._locateMapperViaProvider(Class<?> type,
MediaType mediaType) |
protected boolean |
JacksonJsonProvider.hasMatchingMediaType(MediaType mediaType)
Helper method used to check whether given media type
is supported by this provider.
|
protected boolean |
JacksonJsonProvider.isJsonType(MediaType mediaType)
Deprecated.
Since 2.2 use
JacksonJsonProvider.hasMatchingMediaType(MediaType) instead |
Modifier and Type | Method and Description |
---|---|
MediaType |
Entity.getMediaType()
Get entity media type.
|
MediaType |
ClientResponseContext.getMediaType()
Get the media type of the entity.
|
MediaType |
ClientRequestContext.getMediaType()
Get the media type of the entity.
|
Modifier and Type | Method and Description |
---|---|
List<MediaType> |
ClientRequestContext.getAcceptableMediaTypes()
Get a list of media types that are acceptable for the response.
|
Modifier and Type | Method and Description |
---|---|
Invocation.Builder |
Invocation.Builder.accept(MediaType... mediaTypes)
Add the accepted response media types.
|
static <T> Entity<T> |
Entity.entity(T entity,
MediaType mediaType)
Create an entity using a supplied content media type.
|
static <T> Entity<T> |
Entity.entity(T entity,
MediaType mediaType,
Annotation[] annotations)
Create an entity using a supplied content media type.
|
Invocation.Builder |
WebTarget.request(MediaType... acceptedResponseTypes)
Start building a request to the targeted web resource and define the accepted
response media types.
|
void |
ClientRequestContext.setEntity(Object entity,
Annotation[] annotations,
MediaType mediaType)
Set a new message entity, including the attached annotations and the media type.
|
Modifier and Type | Method and Description |
---|---|
MediaType |
ContainerResponseContext.getMediaType()
Get the media type of the entity.
|
MediaType |
ContainerRequestContext.getMediaType()
Get the media type of the entity.
|
Modifier and Type | Method and Description |
---|---|
List<MediaType> |
ContainerRequestContext.getAcceptableMediaTypes()
Get a list of media types that are acceptable for the response.
|
Modifier and Type | Method and Description |
---|---|
void |
ContainerResponseContext.setEntity(Object entity,
Annotation[] annotations,
MediaType mediaType)
Set a new message entity, including the attached annotations and the media type.
|
Modifier and Type | Field and Description |
---|---|
static MediaType |
MediaType.APPLICATION_ATOM_XML_TYPE
A
MediaType constant representing ""application/atom+xml"" media type. |
static MediaType |
MediaType.APPLICATION_FORM_URLENCODED_TYPE
A
MediaType constant representing ""application/x-www-form-urlencoded"" media type. |
static MediaType |
MediaType.APPLICATION_JSON_TYPE
A
MediaType constant representing ""application/json"" media type. |
static MediaType |
MediaType.APPLICATION_OCTET_STREAM_TYPE
A
MediaType constant representing ""application/octet-stream"" media type. |
static MediaType |
MediaType.APPLICATION_SVG_XML_TYPE
A
MediaType constant representing ""application/svg+xml"" media type. |
static MediaType |
MediaType.APPLICATION_XHTML_XML_TYPE
A
MediaType constant representing ""application/xhtml+xml"" media type. |
static MediaType |
MediaType.APPLICATION_XML_TYPE
A
MediaType constant representing ""application/xml"" media type. |
static MediaType |
MediaType.MULTIPART_FORM_DATA_TYPE
A
MediaType constant representing ""multipart/form-data"" media type. |
static MediaType |
MediaType.TEXT_HTML_TYPE
A
MediaType constant representing ""text/html"" media type. |
static MediaType |
MediaType.TEXT_PLAIN_TYPE
A
MediaType constant representing ""text/plain"" media type. |
static MediaType |
MediaType.TEXT_XML_TYPE
A
MediaType constant representing ""text/xml"" media type. |
static MediaType |
MediaType.WILDCARD_TYPE
|
Modifier and Type | Method and Description |
---|---|
MediaType |
Variant.getMediaType()
Get the media type of the variant.
|
abstract MediaType |
Response.getMediaType()
Get the media type of the message entity.
|
MediaType |
HttpHeaders.getMediaType()
Get the media type of the request entity.
|
static MediaType |
MediaType.valueOf(String type)
Creates a new instance of
MediaType by parsing the supplied string. |
MediaType |
MediaType.withCharset(String charset)
Create a new
MediaType instance with the same type, subtype and parameters
copied from the original instance and the supplied ""charset"" parameter. |
Modifier and Type | Method and Description |
---|---|
List<MediaType> |
HttpHeaders.getAcceptableMediaTypes()
Get a list of media types that are acceptable for the response.
|
Modifier and Type | Method and Description |
---|---|
boolean |
MediaType.isCompatible(MediaType other)
Check if this media type is compatible with another media type.
|
static Variant.VariantListBuilder |
Variant.mediaTypes(MediaType... mediaTypes)
Create a
Variant.VariantListBuilder initialized with a set of supported
media types. |
abstract Variant.VariantListBuilder |
Variant.VariantListBuilder.mediaTypes(MediaType... mediaTypes)
Set the media type(s) for this variant.
|
static Response.ResponseBuilder |
Response.ok(Object entity,
MediaType type)
Create a new ResponseBuilder that contains a representation.
|
abstract Response.ResponseBuilder |
Response.ResponseBuilder.type(MediaType type)
Set the message entity media type.
|
Constructor and Description |
---|
Variant(MediaType mediaType,
Locale language,
String encoding)
Create a new instance of Variant.
|
Variant(MediaType mediaType,
String language,
String encoding)
Create a new instance of Variant.
|
Variant(MediaType mediaType,
String language,
String country,
String encoding)
Create a new instance of Variant.
|
Variant(MediaType mediaType,
String language,
String country,
String languageVariant,
String encoding)
Create a new instance of Variant.
|
Modifier and Type | Method and Description |
---|---|
MediaType |
InterceptorContext.getMediaType()
Get media type of HTTP entity.
|
Modifier and Type | Method and Description |
---|---|
<T> ContextResolver<T> |
Providers.getContextResolver(Class<T> contextType,
MediaType mediaType)
Get a context resolver for a particular type of context and media type.
|
<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.
|
<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.
|
long |
MessageBodyWriter.getSize(T t,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType)
Originally, the method has been called before
writeTo to ascertain the length in bytes of
the serialized form of t . |
boolean |
MessageBodyReader.isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType)
Ascertain if the MessageBodyReader can produce an instance of a
particular type.
|
boolean |
MessageBodyWriter.isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType)
Ascertain if the MessageBodyWriter supports a particular type.
|
T |
MessageBodyReader.readFrom(Class<T> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream)
Read a type from the
InputStream . |
void |
InterceptorContext.setMediaType(MediaType mediaType)
Update media type of HTTP entity.
|
void |
MessageBodyWriter.writeTo(T t,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream)
Write a type to an HTTP message.
|
Modifier and Type | Method and Description |
---|---|
List<MediaType> |
ResteasyViolationException.getAccept() |
protected static List<MediaType> |
ResteasyViolationException.toMediaTypeList(List<org.jboss.resteasy.api.validation.ResteasyViolationException.CloneableMediaType> cloneableList) |
Modifier and Type | Method and Description |
---|---|
void |
ResteasyViolationException.setAccept(List<MediaType> accept) |
protected static List<org.jboss.resteasy.api.validation.ResteasyViolationException.CloneableMediaType> |
ResteasyViolationException.toCloneableMediaTypeList(List<MediaType> list) |
Constructor and Description |
---|
ResteasyViolationException(Set<? extends ConstraintViolation<?>> constraintViolations,
List<MediaType> accept)
New constructor
|
ResteasyViolationException(SimpleViolationsContainer container,
List<MediaType> accept)
New constructor
|
ResteasyViolationException(ViolationsContainer<?> container,
List<MediaType> accept) |
Modifier and Type | Field and Description |
---|---|
protected MediaType |
ClientRequest.bodyContentType
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
MediaType |
ClientRequest.getBodyContentType()
Deprecated.
|
MediaType |
ProxyConfig.getServerConsumes()
Deprecated.
|
MediaType |
ProxyConfig.getServerProduces()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ClientRequest |
ClientRequest.accept(MediaType accepts)
Deprecated.
|
ClientRequest |
ClientRequest.body(MediaType contentType,
Object data)
Deprecated.
|
ClientRequest |
ClientRequest.body(MediaType contentType,
Object data,
Class type,
Type genericType,
Annotation[] annotations)
Deprecated.
|
ClientRequest |
ClientRequest.body(MediaType contentType,
Object data,
GenericType genericType)
Deprecated.
|
ClientRequest |
ClientRequest.body(MediaType contentType,
Object data,
Type genericType)
Deprecated.
|
ProxyBuilder<T> |
ProxyBuilder.serverConsumes(MediaType type)
Deprecated.
|
ProxyBuilder<T> |
ProxyBuilder.serverMediaType(MediaType type)
Deprecated.
shortcut for serverProduces(type).serverConsumes(type)
|
ProxyBuilder<T> |
ProxyBuilder.serverProduces(MediaType type)
Deprecated.
|
Constructor and Description |
---|
ProxyConfig(ClassLoader loader,
ClientExecutor executor,
ResteasyProviderFactory providerFactory,
EntityExtractorFactory extractorFactory,
Map<String,Object> requestAttributes,
MediaType serverConsumes,
MediaType serverProduces)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
MediaType |
CacheEntry.getMediaType()
Deprecated.
|
MediaType |
BrowserCache.Entry.getMediaType() |
Modifier and Type | Method and Description |
---|---|
BrowserCache.Entry |
MapCache.get(String key,
MediaType accept)
Deprecated.
|
BrowserCache.Entry |
LightweightBrowserCache.get(String key,
MediaType accept)
Deprecated.
|
BrowserCache.Entry |
BrowserCache.get(String key,
MediaType accept)
Deprecated.
|
BrowserCache.Entry |
MapCache.getEntry(String key,
MediaType accept)
Deprecated.
|
BrowserCache.Entry |
MapCache.put(String key,
MediaType mediaType,
MultivaluedMap<String,String> headers,
byte[] cached,
int expires,
String etag,
String lastModified)
Deprecated.
|
BrowserCache.Entry |
LightweightBrowserCache.put(String key,
MediaType mediaType,
MultivaluedMap<String,String> headers,
byte[] cached,
int expires,
String etag,
String lastModified)
Deprecated.
|
BrowserCache.Entry |
BrowserCache.put(String key,
MediaType mediaType,
MultivaluedMap<String,String> headers,
byte[] cached,
int expires,
String etag,
String lastModified)
Deprecated.
|
BrowserCache.Entry |
MapCache.remove(String key,
MediaType type)
Deprecated.
|
BrowserCache.Entry |
LightweightBrowserCache.remove(String key,
MediaType type)
Deprecated.
|
BrowserCache.Entry |
BrowserCache.remove(String key,
MediaType type)
Deprecated.
|
Constructor and Description |
---|
CacheEntry(String key,
MultivaluedMap<String,String> headers,
byte[] cached,
int expires,
String etag,
String lastModified,
MediaType mediaType)
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
protected MediaType |
ClientInvoker.accepts |
Modifier and Type | Method and Description |
---|---|
MediaType |
ClientInvoker.getAccepts() |
MediaType |
BaseClientResponse.getMediaType() |
Modifier and Type | Method and Description |
---|---|
protected <T2> Object |
BaseClientResponse.readFrom(Class<T2> type,
Type genericType,
MediaType media,
Annotation[] annotations) |
Modifier and Type | Method and Description |
---|---|
MediaType |
MessageBodyParameterMarshaller.getMediaType() |
Modifier and Type | Method and Description |
---|---|
static Marshaller |
ClientMarshallerFactory.createMarshaller(Class<?> declaring,
ResteasyProviderFactory providerFactory,
Class<?> type,
Annotation[] annotations,
Type genericType,
AccessibleObject target,
MediaType defaultConsumes,
boolean ignoreBody) |
static Marshaller[] |
ClientMarshallerFactory.createMarshallers(Class declaringClass,
Method method,
ResteasyProviderFactory providerFactory,
MediaType defaultConsumes) |
Constructor and Description |
---|
MessageBodyParameterMarshaller(MediaType mediaType,
Class type,
Type genericType,
Annotation[] annotations) |
Modifier and Type | Method and Description |
---|---|
MediaType |
ProxyConfig.getDefaultConsumes() |
MediaType |
ProxyConfig.getDefaultProduces() |
Modifier and Type | Method and Description |
---|---|
ProxyBuilder<T> |
ProxyBuilder.defaultConsumes(MediaType type) |
ProxyBuilder<T> |
ProxyBuilder.defaultProduces(MediaType type) |
Constructor and Description |
---|
ProxyConfig(ClassLoader loader,
MediaType defaultConsumes,
MediaType defaultProduces) |
Modifier and Type | Method and Description |
---|---|
MediaType |
CacheEntry.getMediaType() |
MediaType |
BrowserCache.Entry.getMediaType() |
Modifier and Type | Method and Description |
---|---|
BrowserCache.Entry |
MapCache.get(String key,
MediaType accept) |
BrowserCache.Entry |
LightweightBrowserCache.get(String key,
MediaType accept) |
BrowserCache.Entry |
BrowserCache.get(String key,
MediaType accept) |
BrowserCache.Entry |
MapCache.getEntry(String key,
MediaType accept) |
BrowserCache.Entry |
MapCache.put(String key,
MediaType mediaType,
MultivaluedMap<String,String> headers,
byte[] cached,
int expires,
String etag,
String lastModified) |
BrowserCache.Entry |
LightweightBrowserCache.put(String key,
MediaType mediaType,
MultivaluedMap<String,String> headers,
byte[] cached,
int expires,
String etag,
String lastModified) |
BrowserCache.Entry |
BrowserCache.put(String key,
MediaType mediaType,
MultivaluedMap<String,String> headers,
byte[] cached,
int expires,
String etag,
String lastModified) |
BrowserCache.Entry |
MapCache.remove(String key,
MediaType type) |
BrowserCache.Entry |
LightweightBrowserCache.remove(String key,
MediaType type) |
BrowserCache.Entry |
BrowserCache.remove(String key,
MediaType type) |
Constructor and Description |
---|
CacheEntry(String key,
MultivaluedMap<String,String> headers,
byte[] cached,
int expires,
String etag,
String lastModified,
MediaType mediaType) |
Modifier and Type | Method and Description |
---|---|
String |
Messages.failedToBufferAbortedResponseNoWriter(MediaType mediaType,
String className) |
Modifier and Type | Method and Description |
---|---|
MediaType |
ClientResponseContextImpl.getMediaType() |
MediaType |
ClientRequestHeaders.getMediaType() |
MediaType |
ClientRequestContextImpl.getMediaType() |
Modifier and Type | Method and Description |
---|---|
List<MediaType> |
ClientRequestHeaders.getAcceptableMediaTypes() |
List<MediaType> |
ClientRequestContextImpl.getAcceptableMediaTypes() |
Modifier and Type | Method and Description |
---|---|
void |
ClientRequestHeaders.accept(MediaType... types) |
Invocation.Builder |
ClientInvocationBuilder.accept(MediaType... mediaTypes) |
<T> ContextResolver<T> |
ClientConfiguration.getContextResolver(Class<T> contextType,
MediaType mediaType) |
<T> MessageBodyReader<T> |
ClientConfiguration.getMessageBodyReader(Class<T> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
<T> MessageBodyWriter<T> |
ClientConfiguration.getMessageBodyWriter(Class<T> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
protected <T> Object |
ClientResponse.readFrom(Class<T> type,
Type genericType,
MediaType media,
Annotation[] annotations) |
Invocation.Builder |
ClientWebTarget.request(MediaType... acceptedResponseTypes) |
void |
ClientRequestContextImpl.setEntity(Object entity,
Annotation[] annotations,
MediaType mediaType) |
void |
ClientRequestHeaders.setMediaType(MediaType mediaType) |
Modifier and Type | Field and Description |
---|---|
protected MediaType |
ClientInvoker.accepts |
Modifier and Type | Method and Description |
---|---|
MediaType |
ClientInvoker.getAccepts() |
Modifier and Type | Method and Description |
---|---|
static Object |
ProcessorFactory.createProcessor(Class<?> declaring,
ClientConfiguration configuration,
Class<?> type,
Annotation[] annotations,
Type genericType,
AccessibleObject target,
MediaType defaultConsumes,
boolean ignoreBody) |
static Object[] |
ProcessorFactory.createProcessors(Class declaringClass,
Method method,
ClientConfiguration configuration,
MediaType defaultConsumes) |
Modifier and Type | Method and Description |
---|---|
MediaType |
MessageBodyParameterProcessor.getMediaType() |
Constructor and Description |
---|
MessageBodyParameterProcessor(MediaType mediaType,
Class type,
Type genericType,
Annotation[] annotations) |
Modifier and Type | Method and Description |
---|---|
MediaType |
ThreadLocalResteasyProviderFactory.getConcreteMediaTypeFromMessageBodyWriters(Class type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
MediaType[] |
ResourceMethodInvoker.getConsumes() |
MediaType[] |
ResourceMethodInvoker.getProduces() |
static MediaType |
ServerResponseWriter.resolveContentType(BuiltResponse response) |
MediaType |
ResourceMethodInvoker.resolveContentType(HttpRequest in,
Object entity) |
protected MediaType |
ResourceMethodInvoker.resolveContentTypeByAccept(List<MediaType> accepts,
Object entity) |
Modifier and Type | Method and Description |
---|---|
void |
MediaTypeMap.add(MediaType type,
T obj)
Add an object to the media type map.
|
boolean |
ResourceMethodInvoker.doesConsume(MediaType contentType) |
<T> MessageBodyReader<T> |
ThreadLocalResteasyProviderFactory.getClientMessageBodyReader(Class<T> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
<T> MessageBodyWriter<T> |
ThreadLocalResteasyProviderFactory.getClientMessageBodyWriter(Class<T> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
MediaType |
ThreadLocalResteasyProviderFactory.getConcreteMediaTypeFromMessageBodyWriters(Class type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
<T> ContextResolver<T> |
ThreadLocalResteasyProviderFactory.getContextResolver(Class<T> contextType,
MediaType mediaType) |
List<ContextResolver> |
ThreadLocalResteasyProviderFactory.getContextResolvers(Class<?> clazz,
MediaType type) |
<T> MessageBodyReader<T> |
ThreadLocalResteasyProviderFactory.getMessageBodyReader(Class<T> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
<T> MessageBodyWriter<T> |
ThreadLocalResteasyProviderFactory.getMessageBodyWriter(Class<T> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
List<T> |
MediaTypeMap.getPossible(MediaType accept)
Returns a list of objects sorted based on their media type where the first in the list
is the best match
|
List<T> |
MediaTypeMap.getPossible(MediaType accept,
Class type) |
<T> MessageBodyReader<T> |
ThreadLocalResteasyProviderFactory.getServerMessageBodyReader(Class<T> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
<T> MessageBodyWriter<T> |
ThreadLocalResteasyProviderFactory.getServerMessageBodyWriter(Class<T> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
MessageBodyParameterInjector.isFormData(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
Modifier and Type | Method and Description |
---|---|
boolean |
ResourceMethodInvoker.doesProduce(List<? extends MediaType> accepts) |
protected MediaType |
ResourceMethodInvoker.resolveContentTypeByAccept(List<MediaType> accepts,
Object entity) |
void |
AcceptHeaderByFileSuffixFilter.setMediaTypeMappings(Map<String,MediaType> mediaTypeMappings) |
Constructor and Description |
---|
NoMessageBodyWriterFoundFailure(Class type,
MediaType contentType) |
Modifier and Type | Field and Description |
---|---|
protected MediaType |
AbstractWriterInterceptorContext.mediaType |
protected MediaType |
AbstractReaderInterceptorContext.mediaType |
Modifier and Type | Method and Description |
---|---|
MediaType |
PreMatchContainerRequestContext.getMediaType() |
MediaType |
ContainerResponseContextImpl.getMediaType() |
MediaType |
AbstractWriterInterceptorContext.getMediaType() |
MediaType |
AbstractReaderInterceptorContext.getMediaType() |
Modifier and Type | Method and Description |
---|---|
List<MediaType> |
PreMatchContainerRequestContext.getAcceptableMediaTypes() |
Modifier and Type | Method and Description |
---|---|
<T> T |
DecoratorMatcher.decorate(Class<T> targetClass,
T target,
Class type,
Annotation[] annotations,
MediaType mediaType) |
protected MessageBodyReader |
ServerReaderInterceptorContext.resolveReader(MediaType mediaType) |
protected MessageBodyReader |
ClientReaderInterceptorContext.resolveReader(MediaType mediaType) |
protected abstract MessageBodyReader |
AbstractReaderInterceptorContext.resolveReader(MediaType mediaType) |
void |
ContainerResponseContextImpl.setEntity(Object entity,
Annotation[] annotations,
MediaType mediaType) |
void |
AbstractWriterInterceptorContext.setMediaType(MediaType mediaType) |
void |
AbstractReaderInterceptorContext.setMediaType(MediaType mediaType) |
Modifier and Type | Method and Description |
---|---|
abstract RuntimeException |
ReaderUtility.createReaderNotFound(Type genericType,
MediaType mediaType) |
abstract RuntimeException |
WriterUtility.createWriterNotFound(Type genericType,
MediaType mediaType) |
<T> T |
ReaderUtility.doRead(Class<T> type,
MediaType mediaType,
InputStream is) |
<T> T |
ReaderUtility.doRead(Class<T> type,
Type genericType,
MediaType mediaType,
Annotation[] annotations,
MultivaluedMap<String,String> requestHeaders,
InputStream inputStream) |
<T> T |
ReaderUtility.doRead(Class<T> type,
Type genericType,
MediaType mediaType,
MultivaluedMap<String,String> requestHeaders,
InputStream is) |
Object |
ReaderUtility.doRead(HttpRequest request,
Class type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
void |
WriterUtility.doWrite(HttpResponse response,
Object toOutput,
Class type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
void |
WriterUtility.doWrite(Object toOutput,
Class type,
MediaType mediaType,
OutputStream os) |
void |
WriterUtility.doWrite(Object toOutput,
Class type,
Type genericType,
MediaType mediaType,
Annotation[] annotations,
MultivaluedMap<String,Object> requestHeaders,
OutputStream outputStream) |
void |
WriterUtility.doWrite(Object toOutput,
Class type,
Type genericType,
MediaType mediaType,
MultivaluedMap<String,Object> requestHeaders,
OutputStream os) |
void |
WriterUtility.doWrite(Object toOutput,
MediaType mediaType,
OutputStream os) |
static <T> T |
ReaderUtility.read(Class<T> type,
MediaType mediaType,
byte[] buffer) |
static <T> T |
ReaderUtility.read(Class<T> type,
MediaType mt,
InputStream is) |
static void |
WriterUtility.write(Object toOutput,
MediaType mt,
OutputStream os) |
Modifier and Type | Field and Description |
---|---|
static MediaType[] |
SegmentNode.WILDCARD_ARRAY |
Modifier and Type | Field and Description |
---|---|
static List<MediaType> |
SegmentNode.DEFAULT_ACCEPTS |
Modifier and Type | Method and Description |
---|---|
MediaType |
SegmentNode.SortEntry.getAcceptType() |
Modifier and Type | Method and Description |
---|---|
static SegmentNode.SortFactor |
SegmentNode.createSortFactor(MediaType client,
MediaType server) |
Constructor and Description |
---|
SortEntry(SegmentNode.Match match,
SegmentNode.SortFactor consumes,
SegmentNode.SortFactor produces,
MediaType serverProduce) |
Modifier and Type | Method and Description |
---|---|
MediaType |
VariantQuality.getRequestMediaType() |
Modifier and Type | Method and Description |
---|---|
static Map<MediaType,QualityValue> |
AcceptHeaders.getMediaTypeQualityValues(String header)
Gets the media types from a comma-separated list.
|
Modifier and Type | Method and Description |
---|---|
void |
VariantQuality.setRequestMediaType(MediaType requestMediaType) |
Modifier and Type | Method and Description |
---|---|
MockHttpRequest |
MockHttpRequest.accept(MediaType accept) |
MockHttpRequest |
MockHttpRequest.contentType(MediaType type) |
Modifier and Type | Method and Description |
---|---|
MockHttpRequest |
MockHttpRequest.accept(List<MediaType> accepts) |
Modifier and Type | Method and Description |
---|---|
static MediaType |
MediaTypeHeaderDelegate.parse(String type) |
Modifier and Type | Field and Description |
---|---|
static MediaType |
SerializableProvider.APPLICATION_SERIALIZABLE_TYPE |
Modifier and Type | Method and Description |
---|---|
static List<MediaType> |
ProviderHelper.getAvailableMediaTypes(String[] mediaTypes) |
Modifier and Type | Method and Description |
---|---|
static ImageReader |
IIOImageProviderHelper.getImageReaderByMediaType(MediaType mediaType)
FIXME Comment this
|
static ImageWriter |
IIOImageProviderHelper.getImageWriterByMediaType(MediaType mediaType)
FIXME Comment this
|
long |
ByteArrayProvider.getSize(byte[] bytes,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
long |
FileProvider.getSize(File o,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
long |
FileRangeWriter.getSize(FileRange fileRange,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
long |
JaxrsFormProvider.getSize(Form form,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
long |
InputStreamProvider.getSize(InputStream inputStream,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
long |
FormUrlEncodedProvider.getSize(MultivaluedMap stringStringMultivaluedMap,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
long |
DefaultNumberWriter.getSize(Number n,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
long |
DefaultTextPlain.getSize(Object o,
Class type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
long |
ReaderProvider.getSize(Reader inputStream,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
long |
SerializableProvider.getSize(Serializable t,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
long |
SourceProvider.getSize(Source inputStream,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
long |
StreamingOutputProvider.getSize(StreamingOutput streamingOutput,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
long |
StringTextStar.getSize(String o,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
long |
AbstractEntityProvider.getSize(T t,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
StringTextStar.isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
SourceProvider.isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
SerializableProvider.isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
ReaderProvider.isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
JaxrsFormProvider.isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
InputStreamProvider.isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
IIOImageProvider.isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
FormUrlEncodedProvider.isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
FileProvider.isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
DocumentProvider.isReadable(Class<?> clazz,
Type type,
Annotation[] annotation,
MediaType mediaType) |
boolean |
DataSourceProvider.isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType)
FIXME Comment this
|
boolean |
ByteArrayProvider.isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
DefaultTextPlain.isReadable(Class type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
StringTextStar.isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
StreamingOutputProvider.isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
SourceProvider.isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
SerializableProvider.isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
ReaderProvider.isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
JaxrsFormProvider.isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
InputStreamProvider.isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
IIOImageProvider.isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
FormUrlEncodedProvider.isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
FileRangeWriter.isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
FileProvider.isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
DocumentProvider.isWriteable(Class<?> clazz,
Type type,
Annotation[] annotation,
MediaType mediaType) |
boolean |
DefaultNumberWriter.isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
DataSourceProvider.isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType)
FIXME Comment this
|
boolean |
ByteArrayProvider.isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
DefaultTextPlain.isWriteable(Class type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
static DataSource |
DataSourceProvider.readDataSource(InputStream in,
MediaType mediaType) |
byte[] |
ByteArrayProvider.readFrom(Class<byte[]> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
DataSource |
DataSourceProvider.readFrom(Class<DataSource> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream)
FIXME Comment this
|
Document |
DocumentProvider.readFrom(Class<Document> clazz,
Type type,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> headers,
InputStream input) |
File |
FileProvider.readFrom(Class<File> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
Form |
JaxrsFormProvider.readFrom(Class<Form> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
IIOImage |
IIOImageProvider.readFrom(Class<IIOImage> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
InputStream |
InputStreamProvider.readFrom(Class<InputStream> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
MultivaluedMap |
ServerFormUrlEncodedProvider.readFrom(Class<MultivaluedMap> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
MultivaluedMap |
FormUrlEncodedProvider.readFrom(Class<MultivaluedMap> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
Reader |
ReaderProvider.readFrom(Class<Reader> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
Serializable |
SerializableProvider.readFrom(Class<Serializable> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
Source |
SourceProvider.readFrom(Class<Source> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
String |
StringTextStar.readFrom(Class<String> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
Object |
DefaultTextPlain.readFrom(Class type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap httpHeaders,
InputStream entityStream) |
static String |
ProviderHelper.readString(InputStream in,
MediaType mediaType) |
static void |
IIOImageProviderHelper.writeImage(Annotation[] annotations,
MediaType mediaType,
ImageWriter writer,
OutputStream out,
IIOImage image)
FIXME Comment this
|
void |
ByteArrayProvider.writeTo(byte[] bytes,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
void |
DataSourceProvider.writeTo(DataSource dataSource,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream)
FIXME Comment this
|
void |
DocumentProvider.writeTo(Document document,
Class<?> clazz,
Type type,
Annotation[] annotation,
MediaType mediaType,
MultivaluedMap<String,Object> headers,
OutputStream output) |
void |
FileProvider.writeTo(File uploadFile,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
void |
FileRangeWriter.writeTo(FileRange fileRange,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
void |
JaxrsFormProvider.writeTo(Form form,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
void |
IIOImageProvider.writeTo(IIOImage t,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
void |
InputStreamProvider.writeTo(InputStream inputStream,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
void |
FormUrlEncodedProvider.writeTo(MultivaluedMap data,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
void |
DefaultNumberWriter.writeTo(Number n,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
void |
DefaultTextPlain.writeTo(Object o,
Class type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap httpHeaders,
OutputStream entityStream) |
void |
ReaderProvider.writeTo(Reader inputStream,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
void |
SerializableProvider.writeTo(Serializable t,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
void |
SourceProvider.writeTo(Source source,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
void |
StreamingOutputProvider.writeTo(StreamingOutput streamingOutput,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
void |
StringTextStar.writeTo(String o,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
Modifier and Type | Method and Description |
---|---|
static List<Variant> |
ProviderHelper.getAvailableVariants(List<MediaType> mediaTypes) |
Constructor and Description |
---|
FileRangeException(MediaType mediaType,
File file,
long begin,
long end) |
Modifier and Type | Field and Description |
---|---|
protected MediaType |
Link.type |
Modifier and Type | Method and Description |
---|---|
MediaType |
Text.getType()
Mime type
|
MediaType |
Link.getType() |
MediaType |
Content.getType()
Mime type of the content
|
MediaType |
MediaTypeAdapter.unmarshal(String s) |
Modifier and Type | Method and Description |
---|---|
protected JAXBContextFinder |
AtomFeedProvider.getFinder(MediaType type) |
protected JAXBContextFinder |
AtomEntryProvider.getFinder(MediaType type) |
long |
AtomEntryProvider.getSize(Entry entry,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
long |
AtomFeedProvider.getSize(Feed feed,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
AtomFeedProvider.isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
AtomEntryProvider.isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
AtomFeedProvider.isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
AtomEntryProvider.isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
String |
MediaTypeAdapter.marshal(MediaType mediaType) |
Entry |
AtomEntryProvider.readFrom(Class<Entry> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
Feed |
AtomFeedProvider.readFrom(Class<Feed> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
void |
Text.setType(MediaType type) |
void |
Link.setType(MediaType type) |
void |
Content.setType(MediaType type) |
void |
AtomEntryProvider.writeTo(Entry entry,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
void |
AtomFeedProvider.writeTo(Feed feed,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
Constructor and Description |
---|
BaseLink(String rel,
String relativeLink,
MediaType mediaType) |
Link(String rel,
String href,
MediaType type) |
Link(String rel,
URI href,
MediaType type) |
RelativeLink(String rel,
String relativeLink,
MediaType mediaType) |
Modifier and Type | Field and Description |
---|---|
static MediaType |
JacksonJsonpInterceptor.APPLICATION_JAVASCRIPT_MEDIA_TYPE
"application/javascript" media type.
|
static MediaType |
Jackson2JsonpInterceptor.APPLICATION_JAVASCRIPT_MEDIA_TYPE
"application/javascript" media type.
|
static MediaType |
JacksonJsonpInterceptor.APPLICATION_PLUS_JSON_TYPE
"application/*+json" media type.
|
static MediaType |
Jackson2JsonpInterceptor.APPLICATION_PLUS_JSON_TYPE
"application/*+json" media type.
|
static MediaType |
JacksonJsonpInterceptor.TEXT_JAVASCRIPT_MEDIA_TYPE
"text/javascript" media type.
|
static MediaType |
Jackson2JsonpInterceptor.TEXT_JAVASCRIPT_MEDIA_TYPE
"text/javascript" media type.
|
static MediaType |
JacksonJsonpInterceptor.TEXT_JSON_TYPE
"text/json" media type.
|
static MediaType |
Jackson2JsonpInterceptor.TEXT_JSON_TYPE
"text/json" media type.
|
Modifier and Type | Method and Description |
---|---|
protected org.codehaus.jackson.map.ObjectMapper |
JacksonJsonpInterceptor.getObjectMapper(Class<?> type,
MediaType mediaType)
Search for an
ObjectMapper for the given class and mediaType |
protected ObjectMapper |
Jackson2JsonpInterceptor.getObjectMapper(Class<?> type,
MediaType mediaType)
Search for an
ObjectMapper for the given class and mediaType |
boolean |
ResteasyJacksonProvider.isReadable(Class<?> aClass,
Type type,
Annotation[] annotations,
MediaType mediaType) |
boolean |
ResteasyJackson2Provider.isReadable(Class<?> aClass,
Type type,
Annotation[] annotations,
MediaType mediaType) |
boolean |
ResteasyJacksonProvider.isWriteable(Class<?> aClass,
Type type,
Annotation[] annotations,
MediaType mediaType) |
boolean |
ResteasyJackson2Provider.isWriteable(Class<?> aClass,
Type type,
Annotation[] annotations,
MediaType mediaType) |
Object |
ResteasyJackson2Provider.readFrom(Class<Object> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
void |
ResteasyJackson2Provider.writeTo(Object value,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
Modifier and Type | Method and Description |
---|---|
Marshaller |
PrettyProcessor.decorate(Marshaller target,
Formatted annotation,
Class type,
Annotation[] annotations,
MediaType mediaType) |
Marshaller |
StylesheetProcessor.decorate(Marshaller target,
Stylesheet annotation,
Class type,
Annotation[] annotations,
MediaType mediaType) |
Marshaller |
XmlHeaderProcessor.decorate(Marshaller target,
XmlHeader annotation,
Class type,
Annotation[] annotations,
MediaType mediaType) |
static Marshaller |
AbstractJAXBProvider.decorateMarshaller(Class type,
Annotation[] annotations,
MediaType mediaType,
Marshaller marshaller) |
static Unmarshaller |
AbstractJAXBProvider.decorateUnmarshaller(Class type,
Annotation[] annotations,
MediaType mediaType,
Unmarshaller marshaller) |
JAXBContext |
XmlJAXBContextFinder.findCacheContext(MediaType mediaType,
Annotation[] paraAnnotations,
Class... classes) |
JAXBContext |
JAXBContextFinder.findCacheContext(MediaType mediaType,
Annotation[] paraAnnotations,
Class... classes)
This method creates a JAXBContext from a collection of classes.
|
JAXBContext |
XmlJAXBContextFinder.findCachedContext(Class type,
MediaType mediaType,
Annotation[] parameterAnnotations) |
JAXBContext |
JAXBContextFinder.findCachedContext(Class type,
MediaType mediaType,
Annotation[] parameterAnnotations)
This method with find a JAXBContext for one type.
|
JAXBContext |
XmlJAXBContextFinder.findCacheXmlTypeContext(MediaType mediaType,
Annotation[] paraAnnotations,
Class... classes) |
JAXBContext |
JAXBContextFinder.findCacheXmlTypeContext(MediaType mediaType,
Annotation[] paraAnnotations,
Class... classes)
This method will find a JAXBContext from a set of XmlTypes that use an ObjectFactory for creation (i.e.
|
JAXBContext |
JAXBXmlSeeAlsoProvider.findJAXBContext(Class<?> type,
Annotation[] annotations,
MediaType mediaType,
boolean reader) |
JAXBContext |
AbstractJAXBProvider.findJAXBContext(Class<?> type,
Annotation[] annotations,
MediaType mediaType,
boolean reader) |
JAXBContext |
AbstractJAXBContextFinder.findProvidedJAXBContext(Class<?> type,
MediaType mediaType) |
static String |
MapProvider.getCharset(MediaType mediaType) |
static String |
CollectionProvider.getCharset(MediaType mediaType) |
static String |
AbstractJAXBProvider.getCharset(MediaType mediaType)
FIXME Comment this
|
protected JAXBContextFinder |
MapProvider.getFinder(MediaType type) |
protected JAXBContextFinder |
CollectionProvider.getFinder(MediaType type) |
Object |
MapProvider.getJAXBObject(JAXBContextFinder finder,
MediaType mediaType,
Class<?> clazz,
Element element) |
Object |
CollectionProvider.getJAXBObject(JAXBContextFinder finder,
MediaType mediaType,
Class<?> clazz,
Element element) |
protected Marshaller |
AbstractJAXBProvider.getMarshaller(Class<?> type,
Annotation[] annotations,
MediaType mediaType)
FIXME Comment this
|
long |
MapProvider.getSize(Object entry,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
long |
CollectionProvider.getSize(Object entry,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
static boolean |
IgnoredMediaTypes.ignored(Class<?> type,
Annotation[] annotations,
MediaType mediaType) |
boolean |
MapProvider.isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
CollectionProvider.isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
AbstractJAXBProvider.isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
protected boolean |
JAXBXmlTypeProvider.isReadWritable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
protected boolean |
JAXBXmlSeeAlsoProvider.isReadWritable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
protected boolean |
JAXBXmlRootElementProvider.isReadWritable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
protected boolean |
JAXBElementProvider.isReadWritable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
protected abstract boolean |
AbstractJAXBProvider.isReadWritable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType)
FIXME Comment this
|
protected boolean |
MapProvider.isWrapped(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
protected boolean |
CollectionProvider.isWrapped(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
MapProvider.isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
CollectionProvider.isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
AbstractJAXBProvider.isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
JAXBElement<?> |
JAXBElementProvider.readFrom(Class<JAXBElement<?>> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
Object |
MapProvider.readFrom(Class<Object> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
Object |
JAXBXmlTypeProvider.readFrom(Class<Object> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
Object |
CollectionProvider.readFrom(Class<Object> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
T |
AbstractJAXBProvider.readFrom(Class<T> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
static void |
AbstractJAXBProvider.setCharset(MediaType mediaType,
Marshaller marshaller) |
void |
JAXBElementProvider.writeTo(JAXBElement<?> t,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream outputStream) |
void |
MapProvider.writeTo(Object target,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
void |
JAXBXmlTypeProvider.writeTo(Object t,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
void |
CollectionProvider.writeTo(Object entry,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
void |
AbstractJAXBProvider.writeTo(T t,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream outputStream) |
Modifier and Type | Method and Description |
---|---|
String |
Messages.couldNotFindJAXBContextFinder(MediaType mediaType) |
String |
Messages.unableToFindJAXBContext(MediaType mediaType) |
Modifier and Type | Method and Description |
---|---|
protected JAXBContext |
JsonJAXBContextFinder.find(Class<?> type,
MediaType mediaType,
ConcurrentHashMap<Class<?>,JAXBContext> cache,
Mapped mapped,
BadgerFish badger) |
JAXBContext |
JsonJAXBContextFinder.findCacheContext(MediaType mediaType,
Annotation[] annotations,
Class... classes) |
JAXBContext |
JsonJAXBContextFinder.findCachedContext(Class type,
MediaType mediaType,
Annotation[] annotations) |
JAXBContext |
JsonJAXBContextFinder.findCacheXmlTypeContext(MediaType mediaType,
Annotation[] annotations,
Class... classes) |
static String |
JsonMapProvider.getCharset(MediaType mediaType) |
Object |
JsonMapProvider.readFrom(Class<Object> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
Object |
JsonCollectionProvider.readFrom(Class<Object> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
void |
JsonMapProvider.writeTo(Object target,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
void |
JsonCollectionProvider.writeTo(Object entry,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
Modifier and Type | Method and Description |
---|---|
String |
Messages.unableToFindJAXBContext(MediaType mediaType) |
Modifier and Type | Method and Description |
---|---|
protected javax.json.JsonReader |
AbstractJsonpProvider.findReader(MediaType mediaType,
InputStream is) |
protected javax.json.JsonWriter |
AbstractJsonpProvider.findWriter(MediaType mediaType,
OutputStream os) |
static Charset |
AbstractJsonpProvider.getCharset(MediaType mediaType) |
long |
JsonArrayProvider.getSize(javax.json.JsonArray jsonValues,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
long |
JsonObjectProvider.getSize(javax.json.JsonObject jsonObject,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
long |
JsonStructureProvider.getSize(javax.json.JsonStructure jsonStructure,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
JsonStructureProvider.isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
JsonObjectProvider.isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
JsonArrayProvider.isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
JsonStructureProvider.isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
JsonObjectProvider.isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
JsonArrayProvider.isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
javax.json.JsonArray |
JsonArrayProvider.readFrom(Class<javax.json.JsonArray> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
javax.json.JsonObject |
JsonObjectProvider.readFrom(Class<javax.json.JsonObject> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
javax.json.JsonStructure |
JsonStructureProvider.readFrom(Class<javax.json.JsonStructure> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
void |
JsonArrayProvider.writeTo(javax.json.JsonArray jsonValues,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
void |
JsonObjectProvider.writeTo(javax.json.JsonObject jsonObject,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
void |
JsonStructureProvider.writeTo(javax.json.JsonStructure jsonStructure,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
Modifier and Type | Field and Description |
---|---|
static MediaType |
MultipartConstants.APPLICATION_XOP_XML_TYPE
"application/xop+xml"
|
protected MediaType |
MultipartInputImpl.contentType |
protected MediaType |
MultipartInputImpl.defaultPartContentType |
static MediaType |
MultipartConstants.MULTIPART_MIXED_TYPE
"multipart/mixed"
|
static MediaType |
MultipartConstants.MULTIPART_RELATED_TYPE
"multipart/related"
|
static MediaType |
MultipartConstants.TEXT_PLAIN_WITH_CHARSET_ISO_8859_1_TYPE
Default fallback of the HTTP 1.1 protocol.
|
static MediaType |
MultipartConstants.TEXT_PLAIN_WITH_CHARSET_US_ASCII_TYPE
Default fallback of MIME messages
"text/plain; charset=us-ascii"
|
Modifier and Type | Method and Description |
---|---|
MediaType |
OutputPart.getMediaType() |
MediaType |
MultipartInputImpl.PartImpl.getMediaType() |
MediaType |
InputPart.getMediaType() |
Modifier and Type | Method and Description |
---|---|
OutputPart |
MultipartFormDataOutput.addFormData(String key,
Object entity,
Class<?> type,
Type genericType,
MediaType mediaType) |
OutputPart |
MultipartFormDataOutput.addFormData(String key,
Object entity,
Class<?> type,
Type genericType,
MediaType mediaType,
String filename) |
OutputPart |
MultipartFormDataOutput.addFormData(String key,
Object entity,
GenericType<?> type,
MediaType mediaType) |
OutputPart |
MultipartFormDataOutput.addFormData(String key,
Object entity,
GenericType<?> type,
MediaType mediaType,
String filename) |
OutputPart |
MultipartFormDataOutput.addFormData(String key,
Object entity,
MediaType mediaType) |
OutputPart |
MultipartFormDataOutput.addFormData(String key,
Object entity,
MediaType mediaType,
String filename) |
OutputPart |
MultipartOutput.addPart(Object entity,
Class<?> type,
Type genericType,
MediaType mediaType) |
OutputPart |
MultipartOutput.addPart(Object entity,
Class<?> type,
Type genericType,
MediaType mediaType,
String filename) |
OutputPart |
MultipartOutput.addPart(Object entity,
GenericType<?> type,
MediaType mediaType) |
OutputPart |
MultipartOutput.addPart(Object entity,
GenericType<?> type,
MediaType mediaType,
String filename) |
OutputPart |
MultipartOutput.addPart(Object entity,
MediaType mediaType) |
OutputPart |
MultipartOutput.addPart(Object entity,
MediaType mediaType,
String filename) |
OutputPart |
MultipartRelatedOutput.addPart(Object entity,
MediaType mediaType,
String contentId,
String contentTransferEncoding)
Used to add parts to the multipart output message.
|
protected String |
MultipartInputImpl.getCharset(MediaType mediaType) |
long |
ListMultipartWriter.getSize(List<Object> list,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
long |
MapMultipartFormDataWriter.getSize(Map<String,Object> map,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
long |
MultipartFormDataWriter.getSize(MultipartFormDataOutput multipartFormDataOutput,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
long |
MultipartWriter.getSize(MultipartOutput multipartOutput,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
long |
MultipartRelatedWriter.getSize(MultipartRelatedOutput multipartRelatedOutput,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
long |
XopWithMultipartRelatedWriter.getSize(Object t,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
long |
MultipartFormAnnotationWriter.getSize(Object o,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
XopWithMultipartRelatedReader.isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
MultipartRelatedReader.isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
MultipartReader.isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
MultipartFormDataReader.isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
MultipartFormAnnotationReader.isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
MimeMultipartProvider.isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
MapMultipartFormDataReader.isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
ListMultipartReader.isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
protected boolean |
XopWithMultipartRelatedJAXBProvider.isReadWritable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
XopWithMultipartRelatedWriter.isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
MultipartWriter.isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
MultipartRelatedWriter.isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
MultipartFormDataWriter.isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
MultipartFormAnnotationWriter.isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
MimeMultipartProvider.isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
MapMultipartFormDataWriter.isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
ListMultipartWriter.isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
static DataSource |
MimeMultipartProvider.readDataSource(InputStream in,
MediaType mediaType) |
List<?> |
ListMultipartReader.readFrom(Class<List<?>> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
Map<?,?> |
MapMultipartFormDataReader.readFrom(Class<Map<?,?>> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
MimeMultipart |
MimeMultipartProvider.readFrom(Class<MimeMultipart> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream)
FIXME Comment this
|
MultipartFormDataInput |
MultipartFormDataReader.readFrom(Class<MultipartFormDataInput> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
MultipartInput |
MultipartReader.readFrom(Class<MultipartInput> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
MultipartRelatedInput |
MultipartRelatedReader.readFrom(Class<MultipartRelatedInput> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
Object |
XopWithMultipartRelatedReader.readFrom(Class<Object> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
Object |
MultipartFormAnnotationReader.readFrom(Class<Object> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
Object |
XopWithMultipartRelatedJAXBProvider.readFrom(Class<Object> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream,
MultipartRelatedInput xopPackage) |
void |
MultipartInputImpl.PartImpl.setMediaType(MediaType mediaType) |
void |
InputPart.setMediaType(MediaType mediaType)
Change the media type of the body part before you extract it.
|
protected void |
AbstractMultipartWriter.write(MultipartOutput multipartOutput,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
protected void |
AbstractMultipartRelatedWriter.writeRelated(MultipartRelatedOutput multipartRelatedOutput,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
void |
ListMultipartWriter.writeTo(List<Object> list,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
void |
MapMultipartFormDataWriter.writeTo(Map<String,Object> map,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
void |
MimeMultipartProvider.writeTo(MimeMultipart mimeMultipart,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream)
FIXME Comment this
|
void |
MultipartFormDataWriter.writeTo(MultipartFormDataOutput multipartFormDataOutput,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
void |
MultipartWriter.writeTo(MultipartOutput multipartOutput,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
void |
MultipartRelatedWriter.writeTo(MultipartRelatedOutput multipartRelatedOutput,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
void |
XopWithMultipartRelatedJAXBProvider.writeTo(Object t,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
MultipartRelatedOutput xopPackage) |
void |
XopWithMultipartRelatedWriter.writeTo(Object t,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
void |
MultipartFormAnnotationWriter.writeTo(Object obj,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
Constructor and Description |
---|
MultipartFormDataInputImpl(MediaType contentType,
Providers workers) |
MultipartInputImpl(MediaType contentType,
Providers workers) |
MultipartInputImpl(MediaType contentType,
Providers workers,
MediaType defaultPartContentType,
String defaultPartCharset) |
MultipartRelatedInputImpl(MediaType contentType,
Providers workers) |
OutputPart(Object entity,
Class<?> type,
Type genericType,
MediaType mediaType) |
OutputPart(Object entity,
Class<?> type,
Type genericType,
MediaType mediaType,
String filename) |
Modifier and Type | Method and Description |
---|---|
String |
Messages.unableToFindMessageBodyReader(MediaType mediaType,
String type) |
Modifier and Type | Method and Description |
---|---|
String |
Messages.unableToFindJAXBContext(MediaType mediaType) |
String |
Messages.unableToMarshal(MediaType mediaType) |
String |
Messages.unableToUnmarshal(MediaType mediaType) |
Modifier and Type | Method and Description |
---|---|
static List<MediaType> |
ServletUtil.extractAccepts(MultivaluedMap<String,String> requestHeaders) |
Modifier and Type | Method and Description |
---|---|
String |
Messages.clientResponseFailureMediaType(MediaType mediaType,
Type type) |
String |
Messages.couldNotFindMessageBodyReader(Type type,
MediaType mediaType) |
String |
Messages.couldNotFindWriterForContentType(MediaType mediaType,
String className) |
String |
Messages.couldNotReadType(Type type,
MediaType mediaType) |
String |
Messages.mediaTypeQMustBeFloat(MediaType mediaType) |
void |
LogMessages.readerNotFound(MediaType mediaType,
String[] availableTypes) |
Modifier and Type | Method and Description |
---|---|
MediaType |
ResteasyHttpHeaders.getMediaType() |
MediaType |
BuiltResponse.getMediaType() |
Modifier and Type | Method and Description |
---|---|
List<MediaType> |
ResteasyHttpHeaders.getAcceptableMediaTypes() |
Modifier and Type | Method and Description |
---|---|
Variant.VariantListBuilder |
VariantListBuilderImpl.mediaTypes(MediaType... mediaTypes) |
Response.ResponseBuilder |
ResponseBuilderImpl.type(MediaType type) |
Modifier and Type | Method and Description |
---|---|
MediaType |
ResteasyProviderFactory.getConcreteMediaTypeFromMessageBodyWriters(Class type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
Modifier and Type | Method and Description |
---|---|
<T> MessageBodyReader<T> |
ResteasyProviderFactory.getClientMessageBodyReader(Class<T> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
<T> MessageBodyWriter<T> |
ResteasyProviderFactory.getClientMessageBodyWriter(Class<T> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
MediaType |
ResteasyProviderFactory.getConcreteMediaTypeFromMessageBodyWriters(Class type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
<T> ContextResolver<T> |
ResteasyProviderFactory.getContextResolver(Class<T> contextType,
MediaType mediaType) |
List<ContextResolver> |
ResteasyProviderFactory.getContextResolvers(Class<?> clazz,
MediaType type) |
<T> MessageBodyReader<T> |
ResteasyProviderFactory.getMessageBodyReader(Class<T> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType)
Always returns server MBRs
|
<T> MessageBodyWriter<T> |
ResteasyProviderFactory.getMessageBodyWriter(Class<T> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType)
Always gets server MBW
|
<T> MessageBodyReader<T> |
ResteasyProviderFactory.getServerMessageBodyReader(Class<T> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
<T> MessageBodyWriter<T> |
ResteasyProviderFactory.getServerMessageBodyWriter(Class<T> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
protected <T> MessageBodyReader<T> |
ResteasyProviderFactory.resolveMessageBodyReader(Class<T> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MediaTypeMap<ResteasyProviderFactory.SortedKey<MessageBodyReader>> availableReaders) |
protected <T> MessageBodyWriter<T> |
ResteasyProviderFactory.resolveMessageBodyWriter(Class<T> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MediaTypeMap<ResteasyProviderFactory.SortedKey<MessageBodyWriter>> availableWriters) |
Modifier and Type | Method and Description |
---|---|
MediaType |
MessageBodyWriterContext.getMediaType()
Deprecated.
|
MediaType |
MessageBodyReaderContext.getMediaType()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
T |
DecoratorProcessor.decorate(T target,
A annotation,
Class type,
Annotation[] annotations,
MediaType mediaType) |
void |
MessageBodyWriterContext.setMediaType(MediaType mediaType)
Deprecated.
|
void |
MessageBodyReaderContext.setMediaType(MediaType mediaType)
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
protected MediaType[] |
ResourceMethod.consumes |
protected MediaType[] |
ResourceMethod.produces |
Modifier and Type | Method and Description |
---|---|
MediaType[] |
ResourceMethod.getConsumes() |
MediaType[] |
ResourceMethod.getProduces() |
protected MediaType[] |
ResourceBuilder.ResourceMethodBuilder.parseMediaTypes(String[] produces) |
Modifier and Type | Method and Description |
---|---|
ResourceBuilder.ResourceMethodBuilder |
ResourceBuilder.ResourceMethodBuilder.consumes(MediaType... consumes) |
ResourceBuilder.ResourceMethodBuilder |
ResourceBuilder.ResourceMethodBuilder.produces(MediaType... produces) |
Modifier and Type | Class and Description |
---|---|
class |
WeightedMediaType |
Modifier and Type | Field and Description |
---|---|
protected Map<MediaType,T> |
MediaTypeMatcher.representations |
Modifier and Type | Method and Description |
---|---|
static MediaType |
MediaTypeHelper.getBestMatch(List<MediaType> desired,
List<MediaType> provided) |
static MediaType |
MediaTypeHelper.getConsumes(Class declaring,
AccessibleObject method) |
static MediaType |
MediaTypeHelper.getProduces(Class declaring,
Method method) |
static MediaType |
MediaTypeHelper.getProduces(Class declaring,
Method method,
MediaType defaultProduces) |
Modifier and Type | Method and Description |
---|---|
Map<MediaType,T> |
MediaTypeMatcher.getRepresentations() |
static List<MediaType> |
MediaTypeHelper.parseHeader(String header) |
Modifier and Type | Method and Description |
---|---|
static int |
MediaTypeHelper.compareWeight(MediaType one,
MediaType two) |
static boolean |
MediaTypeHelper.equivalent(MediaType m1,
MediaType m2) |
static boolean |
MediaTypeHelper.equivalentParams(MediaType m1,
MediaType m2) |
static MediaType |
MediaTypeHelper.getProduces(Class declaring,
Method method,
MediaType defaultProduces) |
static float |
MediaTypeHelper.getQ(MediaType type) |
static float |
MediaTypeHelper.getQWithParamInfo(MediaType type) |
boolean |
WeightedMediaType.isCompatible(MediaType other)
Non-equal properties should not be compatible
|
static WeightedMediaType |
WeightedMediaType.parse(MediaType tmp) |
static boolean |
MediaTypeHelper.sameWeight(MediaType one,
MediaType two) |
Modifier and Type | Method and Description |
---|---|
static MediaType |
MediaTypeHelper.getBestMatch(List<MediaType> desired,
List<MediaType> provided) |
static MediaType |
MediaTypeHelper.getBestMatch(List<MediaType> desired,
List<MediaType> provided) |
T |
MediaTypeMatcher.match(List<MediaType> accepts) |
void |
MediaTypeMatcher.setRepresentations(Map<MediaType,T> representations) |
static void |
MediaTypeHelper.sortByWeight(List<MediaType> types) |
Copyright © 2016 JBoss by Red Hat. All rights reserved.