Modifier and Type | Method and Description |
---|---|
protected EP_CONFIG |
ProviderBase._endpointForReading(Class<Object> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders)
Overridable helper method that will basically fetch representation of the
endpoint that can be used to get
ObjectReader to use for deserializing
content |
protected EP_CONFIG |
ProviderBase._endpointForWriting(Object value,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders) |
protected abstract MAPPER |
ProviderBase._locateMapperViaProvider(Class<?> type,
MediaType mediaType)
Helper method that is called if no mapper has been explicitly configured.
|
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_PATCH_JSON_TYPE
A
MediaType constant representing "application/json-patch+json" 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.SERVER_SENT_EVENTS_TYPE
Server sent events 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.
|
default 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 |
---|---|
MediaType |
OutboundSseEvent.getMediaType()
Get
media type of the event data. |
Modifier and Type | Method and Description |
---|---|
OutboundSseEvent.Builder |
OutboundSseEvent.Builder.mediaType(MediaType mediaType)
Set the
media type of the event data. |
<T> T |
InboundSseEvent.readData(Class<T> messageType,
MediaType mediaType)
Read event data as a given Java type.
|
<T> T |
InboundSseEvent.readData(GenericType<T> type,
MediaType mediaType)
Read event data as a given generic type.
|
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_$bundle.failedToBufferAbortedResponseNoWriter(MediaType mediaType,
String className) |
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 |
PartialResponse.getMediaType() |
Modifier and Type | Method and Description |
---|---|
MediaType |
ThreadLocalResteasyProviderFactory.getConcreteMediaTypeFromMessageBodyWriters(Class type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
MediaType[] |
ResourceMethodInvoker.getConsumes() |
protected static MediaType |
ServerResponseWriter.getDefaultContentType(HttpRequest request,
BuiltResponse jaxrsResponse,
ResteasyProviderFactory providerFactory,
ResourceMethodInvoker method) |
MediaType[] |
ResourceMethodInvoker.getProduces() |
static MediaType |
ServerResponseWriter.getResponseMediaType(BuiltResponse jaxrsResponse,
HttpRequest request,
HttpResponse response,
ResteasyProviderFactory providerFactory,
ResourceMethodInvoker method) |
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
Deprecated.
|
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 |
DefaultBooleanWriter.getSize(Boolean o,
Class type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
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)
Deprecated.
|
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)
Deprecated.
|
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)
Ascertain if the MessageBodyReader can produce an instance of a
particular type.
|
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)
Ascertain if the MessageBodyReader can produce an instance of a
particular type.
|
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)
Deprecated.
|
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)
Ascertain if the MessageBodyWriter supports a particular type.
|
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 |
DefaultBooleanWriter.isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
DataSourceProvider.isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType)
Ascertain if the MessageBodyWriter supports a particular type.
|
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)
Read a type from the
InputStream . |
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)
Read a type from the
InputStream . |
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)
Deprecated.
|
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 |
DefaultBooleanWriter.writeTo(Boolean t,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
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)
Write a type to an HTTP message.
|
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)
Write a type to an HTTP message.
|
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)
Deprecated.
|
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
Deprecated.
"application/javascript" media type.
|
static MediaType |
Jackson2JsonpInterceptor.APPLICATION_JAVASCRIPT_MEDIA_TYPE
"application/javascript" media type.
|
static MediaType |
JacksonJsonpInterceptor.APPLICATION_PLUS_JSON_TYPE
Deprecated.
"application/*+json" media type.
|
static MediaType |
Jackson2JsonpInterceptor.APPLICATION_PLUS_JSON_TYPE
"application/*+json" media type.
|
static MediaType |
JacksonJsonpInterceptor.TEXT_JAVASCRIPT_MEDIA_TYPE
Deprecated.
"text/javascript" media type.
|
static MediaType |
Jackson2JsonpInterceptor.TEXT_JAVASCRIPT_MEDIA_TYPE
"text/javascript" media type.
|
static MediaType |
JacksonJsonpInterceptor.TEXT_JSON_TYPE
Deprecated.
"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)
Deprecated.
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)
Deprecated.
|
boolean |
ResteasyJackson2Provider.isReadable(Class<?> aClass,
Type type,
Annotation[] annotations,
MediaType mediaType) |
boolean |
ResteasyJacksonProvider.isWriteable(Class<?> aClass,
Type type,
Annotation[] annotations,
MediaType mediaType)
Deprecated.
|
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)
Gets the character set from media type.
|
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)
Retrieve JAXB marshaller.
|
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) |
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_$bundle.couldNotFindJAXBContextFinder(MediaType mediaType) |
String |
Messages.couldNotFindJAXBContextFinder(MediaType mediaType) |
String |
Messages_$bundle.couldNotFindUsersJAXBContext(MediaType mediaType) |
String |
Messages.couldNotFindUsersJAXBContext(MediaType mediaType) |
String |
Messages_$bundle.unableToFindJAXBContext(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_$bundle.unableToFindJAXBContext(MediaType mediaType) |
String |
Messages.unableToFindJAXBContext(MediaType mediaType) |
Modifier and Type | Method and Description |
---|---|
protected JsonReader |
AbstractJsonpProvider.findReader(MediaType mediaType,
InputStream is) |
protected JsonWriter |
AbstractJsonpProvider.findWriter(MediaType mediaType,
OutputStream os) |
static Charset |
AbstractJsonpProvider.getCharset(MediaType mediaType) |
long |
JsonArrayProvider.getSize(JsonArray jsonValues,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
long |
JsonObjectProvider.getSize(JsonObject jsonObject,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
long |
JsonStructureProvider.getSize(JsonStructure jsonStructure,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
long |
JsonValueProvider.getSize(JsonValue jsonStructure,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
JsonValueProvider.isReadable(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 |
JsonValueProvider.isWriteable(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) |
JsonArray |
JsonArrayProvider.readFrom(Class<JsonArray> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
JsonObject |
JsonObjectProvider.readFrom(Class<JsonObject> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
JsonStructure |
JsonStructureProvider.readFrom(Class<JsonStructure> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
JsonValue |
JsonValueProvider.readFrom(Class<JsonValue> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
void |
JsonArrayProvider.writeTo(JsonArray jsonValues,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
void |
JsonObjectProvider.writeTo(JsonObject jsonObject,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
void |
JsonStructureProvider.writeTo(JsonStructure jsonStructure,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
void |
JsonValueProvider.writeTo(JsonValue jsonValue,
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
|
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)
Ascertain if the MessageBodyReader can produce an instance of a
particular type.
|
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)
Ascertain if the MessageBodyWriter supports a particular type.
|
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)
Read a type from the
InputStream . |
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)
Write a type to an HTTP message.
|
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_$bundle.unableToFindMessageBodyReader(MediaType mediaType,
String type) |
String |
Messages.unableToFindMessageBodyReader(MediaType mediaType,
String type) |
Modifier and Type | Method and Description |
---|---|
String |
Messages_$bundle.unableToFindJAXBContext(MediaType mediaType) |
String |
Messages.unableToFindJAXBContext(MediaType mediaType) |
String |
Messages_$bundle.unableToMarshal(MediaType mediaType) |
String |
Messages.unableToMarshal(MediaType mediaType) |
String |
Messages_$bundle.unableToUnmarshal(MediaType mediaType) |
String |
Messages.unableToUnmarshal(MediaType mediaType) |
Modifier and Type | Field and Description |
---|---|
static MediaType |
SseEventProvider.GENERAL_STREAM_TYPE |
Modifier and Type | Method and Description |
---|---|
MediaType |
OutboundSseEventImpl.getMediaType() |
MediaType |
InboundSseEventImpl.getMediaType() |
Modifier and Type | Method and Description |
---|---|
long |
SseEventProvider.getSize(OutboundSseEvent t,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
long |
SseEventOutputProvider.getSize(SseEventSink output,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
SseEventProvider.isReadable(Class<?> cls,
Type type,
Annotation[] annotations,
MediaType mediaType) |
boolean |
SseEventProvider.isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
SseEventOutputProvider.isWriteable(Class<?> cls,
Type type,
Annotation[] anns,
MediaType mt) |
OutboundSseEvent.Builder |
OutboundSseEventImpl.BuilderImpl.mediaType(MediaType mediaType) |
<T> T |
InboundSseEventImpl.readData(Class<T> messageType,
MediaType mediaType) |
<T> T |
InboundSseEventImpl.readData(GenericType<T> type,
MediaType mediaType) |
SseEventInputImpl |
SseEventProvider.readFrom(Class<SseEventInputImpl> cls,
Type type,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
void |
OutboundSseEventImpl.setMediaType(MediaType mediaType) |
void |
SseEventProvider.writeTo(OutboundSseEvent event,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
void |
SseEventOutputProvider.writeTo(SseEventSink output,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
Constructor and Description |
---|
SseEventInputImpl(Annotation[] annotations,
MediaType streamType,
MediaType elementType,
MultivaluedMap<String,String> httpHeaders,
InputStream inputStream) |
Modifier and Type | Method and Description |
---|---|
void |
SseEventSourceImpl.open(String lastEventId,
String verb,
Entity<?> entity,
MediaType... mediaTypes) |
Modifier and Type | Method and Description |
---|---|
static List<MediaType> |
ServletUtil.extractAccepts(MultivaluedMap<String,String> requestHeaders) |
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.
|
Map<MessageBodyWriter<?>,Class<?>> |
ResteasyProviderFactory.getPossibleMessageBodyWritersMap(Class type,
Type genericType,
Annotation[] annotations,
MediaType accept) |
<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[] |
DefaultResourceMethod.consumes |
protected MediaType[] |
DefaultResourceMethod.produces |
Modifier and Type | Method and Description |
---|---|
MediaType[] |
ResourceMethod.getConsumes() |
MediaType[] |
DefaultResourceMethod.getConsumes() |
MediaType[] |
ResourceMethod.getProduces() |
MediaType[] |
DefaultResourceMethod.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 boolean |
MediaTypeHelper.isTextLike(MediaType mediaType) |
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 © 2018 JBoss by Red Hat. All rights reserved.