Uses of Class
javax.ws.rs.core.MediaType

Packages that use MediaType
javax.ws.rs.core   
javax.ws.rs.ext   
 

Uses of MediaType in javax.ws.rs.core
 

Fields in javax.ws.rs.core declared as MediaType
static MediaType MediaType.APPLICATION_ATOM_XML_TYPE
           
static MediaType MediaType.APPLICATION_FORM_URLENCODED_TYPE
           
static MediaType MediaType.APPLICATION_JSON_TYPE
           
static MediaType MediaType.APPLICATION_OCTET_STREAM_TYPE
           
static MediaType MediaType.APPLICATION_SVG_XML_TYPE
           
static MediaType MediaType.APPLICATION_XHTML_XML_TYPE
           
static MediaType MediaType.APPLICATION_XML_TYPE
           
static MediaType MediaType.MULTIPART_FORM_DATA_TYPE
           
static MediaType MediaType.TEXT_HTML_TYPE
           
static MediaType MediaType.TEXT_PLAIN_TYPE
           
static MediaType MediaType.TEXT_XML_TYPE
           
static MediaType MediaType.WILDCARD_TYPE
           
 

Methods in javax.ws.rs.core that return MediaType
 MediaType Variant.getMediaType()
           
 MediaType HttpHeaders.getMediaType()
           
static MediaType MediaType.valueOf(String type)
           
 

Methods in javax.ws.rs.core that return types with arguments of type MediaType
 List<MediaType> HttpHeaders.getAcceptableMediaTypes()
           
 

Methods in javax.ws.rs.core with parameters of type MediaType
 boolean MediaType.isCompatible(MediaType other)
           
static Variant.VariantListBuilder Variant.mediaTypes(MediaType... values)
           
abstract  Variant.VariantListBuilder Variant.VariantListBuilder.mediaTypes(MediaType... values)
           
static Response.ResponseBuilder Response.ok(Object entity, MediaType mediaType)
           
abstract  Response.ResponseBuilder Response.ResponseBuilder.type(MediaType value)
           
 

Constructors in javax.ws.rs.core with parameters of type MediaType
Variant(MediaType mediaType, Locale language, String encoding)
           
 

Uses of MediaType in javax.ws.rs.ext
 

Methods in javax.ws.rs.ext with parameters of type MediaType
<T> ContextResolver<T>
Providers.getContextResolver(Class<T> rawType, MediaType mediaType)
           
<T> MessageBodyReader<T>
Providers.getMessageBodyReader(Class<T> rawType, Type genericType, Annotation[] annotations, MediaType mediaType)
           
<T> MessageBodyWriter<T>
Providers.getMessageBodyWriter(Class<T> rawType, Type genericType, Annotation[] annotations, MediaType mediaType)
           
 long MessageBodyWriter.getSize(T t, Class<?> rawType, Type genericType, Annotation[] annotations, MediaType mediaType)
           
 boolean MessageBodyReader.isReadable(Class<?> rawType, Type genericType, Annotation[] annotations, MediaType mediaType)
           
 boolean MessageBodyWriter.isWriteable(Class<?> rawType, Type genericType, Annotation[] annotations, MediaType mediaType)
           
 T MessageBodyReader.readFrom(Class<T> rawType, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,String> httpHeaders, InputStream entityStream)
           
 void MessageBodyWriter.writeTo(T t, Class<?> rawType, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,Object> httpHeaders, OutputStream entityStream)
           
 



Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.