Modifier and Type | Field and Description |
---|---|
static MediaType |
MediaType.APPLICATION_ATOM_XML_TYPE
"application/atom+xml"
|
static MediaType |
MediaType.APPLICATION_FORM_URLENCODED_TYPE
"application/x-www-form-urlencoded"
|
static MediaType |
MediaType.APPLICATION_JSON_TYPE
"application/json"
|
static MediaType |
MediaType.APPLICATION_OCTET_STREAM_TYPE
"application/octet-stream"
|
static MediaType |
MediaType.APPLICATION_SVG_XML_TYPE
"application/svg+xml"
|
static MediaType |
MediaType.APPLICATION_XHTML_XML_TYPE
"application/xhtml+xml"
|
static MediaType |
MediaType.APPLICATION_XML_TYPE
"application/xml"
|
static MediaType |
MediaType.MULTIPART_FORM_DATA_TYPE
"multipart/form-data"
|
static MediaType |
MediaType.TEXT_HTML_TYPE
"text/html"
|
static MediaType |
MediaType.TEXT_PLAIN_TYPE
"text/plain"
|
static MediaType |
MediaType.TEXT_XML_TYPE
"text/xml"
|
static MediaType |
MediaType.WILDCARD_TYPE
"*/*"
|
Modifier and Type | Method and Description |
---|---|
MediaType |
Variant.getMediaType()
Get the media type of the variant
|
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.
|
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 response media type on the ResponseBuilder.
|
Constructor and Description |
---|
Variant(MediaType mediaType,
Locale language,
String encoding)
Create a new instance of Variant
|
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)
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 |
MessageBodyWriter.writeTo(T t,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream)
Write a type to an HTTP response.
|
Modifier and Type | Field and Description |
---|---|
protected MediaType |
ClientRequest.bodyContentType |
Modifier and Type | Method and Description |
---|---|
MediaType |
ClientRequest.getBodyContentType() |
MediaType |
ProxyConfig.getServerConsumes() |
MediaType |
ProxyConfig.getServerProduces() |
Modifier and Type | Method and Description |
---|---|
ClientRequest |
ClientRequest.accept(MediaType accepts) |
ClientRequest |
ClientRequest.body(MediaType contentType,
Object data) |
ClientRequest |
ClientRequest.body(MediaType contentType,
Object data,
Class type,
Type genericType,
Annotation[] annotations) |
ClientRequest |
ClientRequest.body(MediaType contentType,
Object data,
GenericType genericType) |
ClientRequest |
ClientRequest.body(MediaType contentType,
Object data,
Type genericType) |
ProxyBuilder<T> |
ProxyBuilder.serverConsumes(MediaType type) |
ProxyBuilder<T> |
ProxyBuilder.serverMediaType(MediaType type)
shortcut for serverProduces(type).serverConsumes(type)
|
ProxyBuilder<T> |
ProxyBuilder.serverProduces(MediaType type) |
Constructor and Description |
---|
ProxyConfig(ClassLoader loader,
ClientExecutor executor,
ResteasyProviderFactory providerFactory,
EntityExtractorFactory extractorFactory,
Map<String,Object> requestAttributes,
MediaType serverConsumes,
MediaType serverProduces) |
Modifier and Type | Method and Description |
---|---|
MediaType |
BrowserCache.Entry.getMediaType() |
MediaType |
CacheEntry.getMediaType() |
Modifier and Type | Method and Description |
---|---|
BrowserCache.Entry |
BrowserCache.get(String key,
MediaType accept) |
BrowserCache.Entry |
LightweightBrowserCache.get(String key,
MediaType accept) |
BrowserCache.Entry |
MapCache.get(String key,
MediaType accept) |
BrowserCache.Entry |
MapCache.getEntry(String key,
MediaType accept) |
BrowserCache.Entry |
BrowserCache.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 |
MapCache.put(String key,
MediaType mediaType,
MultivaluedMap<String,String> headers,
byte[] cached,
int expires,
String etag,
String lastModified) |
BrowserCache.Entry |
BrowserCache.remove(String key,
MediaType type) |
BrowserCache.Entry |
LightweightBrowserCache.remove(String key,
MediaType type) |
BrowserCache.Entry |
MapCache.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 | Field and Description |
---|---|
protected MediaType |
ClientInvoker.accepts |
Modifier and Type | Method and Description |
---|---|
MediaType |
ClientInvoker.getAccepts() |
protected MediaType |
BaseClientResponse.getMediaType() |
Modifier and Type | Method and Description |
---|---|
protected <T2> Object |
BaseClientResponse.readFrom(Class<T2> type,
Type genericType,
MediaType media,
Annotation[] annotations) |
Constructor and Description |
---|
ClientMessageBodyReaderContext(MessageBodyReaderInterceptor[] interceptors,
MessageBodyReader reader,
Class type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> headers,
InputStream inputStream,
Map<String,Object> attributes) |
ClientMessageBodyWriterContext(MessageBodyWriterInterceptor[] interceptors,
MessageBodyWriter writer,
Object entity,
Class type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> headers,
OutputStream outputStream,
Map<String,Object> attributes) |
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 | Field and Description |
---|---|
protected MediaType[] |
ResourceMethod.consumes |
protected MediaType[] |
ResourceMethod.produces |
Modifier and Type | Field and Description |
---|---|
Map<String,MediaType> |
ExtensionHttpPreprocessor.mediaTypeMappings |
Modifier and Type | Method and Description |
---|---|
MediaType[] |
ResourceMethod.getConsumes() |
MediaType[] |
ResourceMethod.getProduces() |
MediaType |
ServerResponse.resolveContentType() |
MediaType |
ResourceMethod.resolveContentType(HttpRequest in,
Object entity) |
protected MediaType |
ResourceMethod.resolveContentTypeByAccept(List<MediaType> accepts,
Object entity) |
protected MediaType |
SynchronousDispatcher.resolveContentTypeByAccept(List<MediaType> accepts,
Object entity) |
Modifier and Type | Method and Description |
---|---|
Map<String,MediaType> |
ExtensionHttpPreprocessor.getMediaTypeMappings() |
Map<String,MediaType> |
SynchronousDispatcher.getMediaTypeMappings() |
Map<String,MediaType> |
Dispatcher.getMediaTypeMappings() |
Modifier and Type | Method and Description |
---|---|
void |
MediaTypeMap.add(MediaType type,
T obj)
Add an object to the media type map.
|
boolean |
ResourceMethod.doesConsume(MediaType contentType) |
<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) |
boolean |
MessageBodyParameterInjector.isFormData(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
Modifier and Type | Method and Description |
---|---|
boolean |
ResourceMethod.doesProduce(List<? extends MediaType> accepts) |
protected MediaType |
ResourceMethod.resolveContentTypeByAccept(List<MediaType> accepts,
Object entity) |
protected MediaType |
SynchronousDispatcher.resolveContentTypeByAccept(List<MediaType> accepts,
Object entity) |
void |
ExtensionHttpPreprocessor.setMediaTypeMappings(Map<String,MediaType> mediaTypeMappings) |
void |
SynchronousDispatcher.setMediaTypeMappings(Map<String,MediaType> mediaTypeMappings) |
void |
Dispatcher.setMediaTypeMappings(Map<String,MediaType> mediaTypeMappings) |
Constructor and Description |
---|
NoMessageBodyWriterFoundFailure(Class type,
MediaType contentType) |
Modifier and Type | Field and Description |
---|---|
protected MediaType |
MessageBodyReaderContextImpl.mediaType |
protected MediaType |
MessageBodyWriterContextImpl.mediaType |
Modifier and Type | Method and Description |
---|---|
MediaType |
MessageBodyReaderContextImpl.getMediaType() |
MediaType |
MessageBodyWriterContextImpl.getMediaType() |
Modifier and Type | Method and Description |
---|---|
<T> T |
DecoratorMatcher.decorate(Class<T> targetClass,
T target,
Class type,
Annotation[] annotations,
MediaType mediaType) |
void |
MessageBodyReaderContextImpl.setMediaType(MediaType mediaType) |
void |
MessageBodyWriterContextImpl.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 | 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.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 | 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 |
InputStreamProvider.getSize(InputStream inputStream,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
long |
FormUrlEncodedProvider.getSize(MultivaluedMap<String,String> stringStringMultivaluedMap,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
long |
DefaultTextPlain.getSize(Object o,
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 |
YamlProvider.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 |
InputStreamProvider.isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
FileProvider.isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
IIOImageProvider.isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
ByteArrayProvider.isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
StringTextStar.isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
FormUrlEncodedProvider.isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
DefaultTextPlain.isReadable(Class type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
YamlProvider.isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
DocumentProvider.isWriteable(Class<?> clazz,
Type type,
Annotation[] annotation,
MediaType mediaType) |
boolean |
DataSourceProvider.isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType)
FIXME Comment this
|
boolean |
InputStreamProvider.isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
FileProvider.isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
IIOImageProvider.isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
ByteArrayProvider.isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
StringTextStar.isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
FormUrlEncodedProvider.isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
StreamingOutputProvider.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) |
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<String,String> |
FormUrlEncodedProvider.readFrom(Class<MultivaluedMap<String,String>> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
Object |
YamlProvider.readFrom(Class<Object> 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 |
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<String,String> formData,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
void |
YamlProvider.writeTo(Object t,
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 |
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) |
Modifier and Type | Field and Description |
---|---|
protected MediaType |
Link.type |
Modifier and Type | Method and Description |
---|---|
MediaType |
Content.getType()
Mime type of the content
|
MediaType |
Link.getType() |
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 |
Content.setType(MediaType type) |
void |
Link.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 | Method and Description |
---|---|
long |
HtmlRenderableWriter.getSize(Renderable obj,
Class type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
HtmlRenderableWriter.isWriteable(Class type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
void |
HtmlRenderableWriter.writeTo(Renderable viewingPleasure,
Class type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap httpHeaders,
OutputStream entityStream) |
Modifier and Type | Field and Description |
---|---|
static MediaType |
JacksonJsonpInterceptor.APPLICATION_JAVASCRIPT_MEDIA_TYPE
"application/javascript" media type.
|
static MediaType |
JacksonJsonpInterceptor.APPLICATION_PLUS_JSON_TYPE
"application/*+json" media type.
|
static MediaType |
JacksonJsonpInterceptor.TEXT_JAVASCRIPT_MEDIA_TYPE
"text/javascript" media type.
|
static MediaType |
JacksonJsonpInterceptor.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 |
boolean |
ResteasyJacksonProvider.isReadable(Class<?> aClass,
Type type,
Annotation[] annotations,
MediaType mediaType) |
boolean |
ResteasyJacksonProvider.isWriteable(Class<?> aClass,
Type type,
Annotation[] annotations,
MediaType mediaType) |
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 |
JAXBContextFinder.findCacheContext(MediaType mediaType,
Annotation[] paraAnnotations,
Class... classes)
This method creates a JAXBContext from a collection of classes.
|
JAXBContext |
XmlJAXBContextFinder.findCacheContext(MediaType mediaType,
Annotation[] paraAnnotations,
Class... classes) |
JAXBContext |
JAXBContextFinder.findCachedContext(Class type,
MediaType mediaType,
Annotation[] parameterAnnotations)
This method with find a JAXBContext for one type.
|
JAXBContext |
XmlJAXBContextFinder.findCachedContext(Class type,
MediaType mediaType,
Annotation[] parameterAnnotations) |
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 |
XmlJAXBContextFinder.findCacheXmlTypeContext(MediaType mediaType,
Annotation[] paraAnnotations,
Class... classes) |
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 |
JAXBXmlRootElementProvider.isReadWritable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
protected boolean |
JAXBXmlTypeProvider.isReadWritable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
protected boolean |
JAXBElementProvider.isReadWritable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
protected boolean |
JAXBXmlSeeAlsoProvider.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 |
CollectionProvider.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) |
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 |
CollectionProvider.writeTo(Object entry,
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 |
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) |
String |
Messages.unableToFindJAXBContextFinder(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 |
JsonCollectionProvider.readFrom(Class<Object> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
Object |
JsonMapProvider.readFrom(Class<Object> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
void |
JsonCollectionProvider.writeTo(Object entry,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
void |
JsonMapProvider.writeTo(Object target,
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 | 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 |
MultipartInputImpl.PartImpl.getMediaType() |
MediaType |
OutputPart.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,
GenericType<?> type,
MediaType mediaType) |
OutputPart |
MultipartFormDataOutput.addFormData(String key,
Object entity,
MediaType mediaType) |
OutputPart |
MultipartOutput.addPart(Object entity,
Class<?> type,
Type genericType,
MediaType mediaType) |
OutputPart |
MultipartOutput.addPart(Object entity,
GenericType<?> type,
MediaType mediaType) |
OutputPart |
MultipartOutput.addPart(Object entity,
MediaType mediaType) |
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 |
MultipartFormAnnotationWriter.getSize(Object o,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
long |
XopWithMultipartRelatedWriter.getSize(Object t,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
MultipartRelatedReader.isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
MapMultipartFormDataReader.isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
MimeMultipartProvider.isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
MultipartFormAnnotationReader.isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
ListMultipartReader.isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
XopWithMultipartRelatedReader.isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
MultipartFormDataReader.isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
MultipartReader.isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
protected boolean |
XopWithMultipartRelatedJAXBProvider.isReadWritable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
MultipartFormAnnotationWriter.isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
XopWithMultipartRelatedWriter.isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
MimeMultipartProvider.isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
MultipartWriter.isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
MultipartFormDataWriter.isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
ListMultipartWriter.isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
MapMultipartFormDataWriter.isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
MultipartRelatedWriter.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) |
javax.mail.internet.MimeMultipart |
MimeMultipartProvider.readFrom(Class<javax.mail.internet.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 |
MultipartFormAnnotationReader.readFrom(Class<Object> 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 |
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(javax.mail.internet.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 |
MultipartFormAnnotationWriter.writeTo(Object obj,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
void |
XopWithMultipartRelatedWriter.writeTo(Object t,
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) |
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> |
NettyUtil.extractAccepts(MultivaluedMap<String,String> requestHeaders) |
Modifier and Type | Method and Description |
---|---|
static List<MediaType> |
ServletUtil.extractAccepts(MultivaluedMap<String,String> requestHeaders) |
Modifier and Type | Method and Description |
---|---|
static List<MediaType> |
HttpExchangeUtil.extractAccepts(MultivaluedMap<String,String> requestHeaders) |
Modifier and Type | Method and Description |
---|---|
String |
Messages.couldNotFindMessageBodyReader(Type type,
MediaType mediaType) |
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 | Field and Description |
---|---|
protected MediaType |
SMIMEOutput.mediaType |
Modifier and Type | Method and Description |
---|---|
MediaType |
SignedOutput.getMediaType() |
MediaType |
SMIMEOutput.getMediaType() |
Modifier and Type | Method and Description |
---|---|
long |
EnvelopedWriter.getSize(EnvelopedOutput smimeOutput,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
long |
SignedWriter.getSize(SignedOutput smimeOutput,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
SignedReader.isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
EnvelopedReader.isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
EnvelopedWriter.isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
SignedWriter.isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
EnvelopedInput |
EnvelopedReader.readFrom(Class<EnvelopedInput> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> headers,
InputStream entityStream) |
SignedInput |
SignedReader.readFrom(Class<SignedInput> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> headers,
InputStream entityStream) |
void |
SignedOutput.setMediaType(MediaType mediaType) |
void |
SMIMEOutput.setMediaType(MediaType mediaType) |
void |
EnvelopedWriter.writeTo(EnvelopedOutput out,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> headers,
OutputStream os) |
void |
SignedWriter.writeTo(SignedOutput out,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> headers,
OutputStream os) |
Constructor and Description |
---|
EnvelopedOutput(Object obj,
MediaType mediaType) |
SignedOutput(Object obj,
MediaType mediaType) |
SMIMEOutput(Object obj,
MediaType mediaType) |
Modifier and Type | Method and Description |
---|---|
MediaType |
HttpHeadersImpl.getMediaType() |
Modifier and Type | Method and Description |
---|---|
List<MediaType> |
HttpHeadersImpl.getAcceptableMediaTypes() |
Modifier and Type | Method and Description |
---|---|
Variant.VariantListBuilder |
VariantListBuilderImpl.mediaTypes(MediaType... mediaTypes) |
void |
HttpHeadersImpl.setMediaType(MediaType mediaType) |
Response.ResponseBuilder |
ResponseBuilderImpl.type(MediaType type) |
Modifier and Type | Method and Description |
---|---|
void |
HttpHeadersImpl.setAcceptableMediaTypes(List<MediaType> acceptableMediaTypes) |
Modifier and Type | Method and Description |
---|---|
<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) |
<T> MessageBodyWriter<T> |
ResteasyProviderFactory.getMessageBodyWriter(Class<T> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
Modifier and Type | Method and Description |
---|---|
MediaType |
MessageBodyReaderContext.getMediaType() |
MediaType |
MessageBodyWriterContext.getMediaType() |
Modifier and Type | Method and Description |
---|---|
T |
DecoratorProcessor.decorate(T target,
A annotation,
Class type,
Annotation[] annotations,
MediaType mediaType) |
void |
MessageBodyReaderContext.setMediaType(MediaType mediaType) |
void |
MessageBodyWriterContext.setMediaType(MediaType mediaType) |
Modifier and Type | Method and Description |
---|---|
protected ServerResponse |
ResteasyView.getResponse(Map model,
MediaType mt) |
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. All Rights Reserved.