Uses of Class
org.cruxframework.crux.core.server.rest.core.MediaType

Packages that use MediaType
org.cruxframework.crux.core.server.rest.core   
org.cruxframework.crux.core.server.rest.core.registry   
org.cruxframework.crux.core.server.rest.spi   
org.cruxframework.crux.core.server.rest.util   
org.cruxframework.crux.core.server.rest.util.header   
 

Uses of MediaType in org.cruxframework.crux.core.server.rest.core
 

Fields in org.cruxframework.crux.core.server.rest.core declared as MediaType
static MediaType MediaType.APPLICATION_ATOM_XML_TYPE
          A MediaType constant representing ""application/atom+xml"" media type.
static MediaType MediaType.APPLICATION_FORM_URLENCODED_TYPE
          A MediaType constant representing ""application/x-www-form-urlencoded"" media type.
static MediaType MediaType.APPLICATION_JSON_TYPE
          A MediaType constant representing ""application/json"" media type.
static MediaType MediaType.APPLICATION_OCTET_STREAM_TYPE
          A MediaType constant representing ""application/octet-stream"" media type.
static MediaType MediaType.APPLICATION_SVG_XML_TYPE
          A MediaType constant representing ""application/svg+xml"" media type.
static MediaType MediaType.APPLICATION_XHTML_XML_TYPE
          A MediaType constant representing ""application/xhtml+xml"" media type.
static MediaType MediaType.APPLICATION_XML_TYPE
          A MediaType constant representing ""application/xml"" media type.
static MediaType MediaType.MULTIPART_FORM_DATA_TYPE
          A MediaType constant representing ""multipart/form-data"" media type.
static MediaType MediaType.TEXT_HTML_TYPE
          A MediaType constant representing ""text/html"" media type.
static MediaType MediaType.TEXT_PLAIN_TYPE
          A MediaType constant representing ""text/plain"" media type.
static MediaType MediaType.TEXT_XML_TYPE
          A MediaType constant representing ""text/xml"" media type.
static MediaType MediaType.WILDCARD_TYPE
          A MediaType constant representing wildcard ""*/*"" media type.
 

Methods in org.cruxframework.crux.core.server.rest.core that return MediaType
 MediaType HttpHeaders.getMediaType()
           
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.
 

Methods in org.cruxframework.crux.core.server.rest.core that return types with arguments of type MediaType
 List<MediaType> HttpHeaders.getAcceptableMediaTypes()
           
 

Methods in org.cruxframework.crux.core.server.rest.core with parameters of type MediaType
 boolean MediaType.isCompatible(MediaType other)
          Check if this media type is compatible with another media type.
 void HttpHeaders.setMediaType(MediaType mediaType)
           
 

Method parameters in org.cruxframework.crux.core.server.rest.core with type arguments of type MediaType
 void HttpHeaders.setAcceptableMediaTypes(List<MediaType> acceptableMediaTypes)
           
 

Uses of MediaType in org.cruxframework.crux.core.server.rest.core.registry
 

Method parameters in org.cruxframework.crux.core.server.rest.core.registry with type arguments of type MediaType
protected  boolean Segment.isResponseMediaTypeAllowed(List<MediaType> accepts)
           
 

Uses of MediaType in org.cruxframework.crux.core.server.rest.spi
 

Methods in org.cruxframework.crux.core.server.rest.spi that return types with arguments of type MediaType
static List<MediaType> HttpUtil.extractAccepts(MultivaluedMap<String,String> requestHeaders)
           
 

Uses of MediaType in org.cruxframework.crux.core.server.rest.util
 

Methods in org.cruxframework.crux.core.server.rest.util that return MediaType
static MediaType MediaTypeHelper.getBestMatch(List<MediaType> desired, List<MediaType> provided)
           
 

Methods in org.cruxframework.crux.core.server.rest.util that return types with arguments of type MediaType
static List<MediaType> MediaTypeHelper.parseHeader(String header)
           
 

Methods in org.cruxframework.crux.core.server.rest.util with parameters of type MediaType
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 float MediaTypeHelper.getQ(MediaType type)
           
static float MediaTypeHelper.getQWithParamInfo(MediaType type)
           
static boolean MediaTypeHelper.sameWeight(MediaType one, MediaType two)
           
 

Method parameters in org.cruxframework.crux.core.server.rest.util with type arguments of type MediaType
static MediaType MediaTypeHelper.getBestMatch(List<MediaType> desired, List<MediaType> provided)
           
static MediaType MediaTypeHelper.getBestMatch(List<MediaType> desired, List<MediaType> provided)
           
static void MediaTypeHelper.sortByWeight(List<MediaType> types)
           
 

Uses of MediaType in org.cruxframework.crux.core.server.rest.util.header
 

Methods in org.cruxframework.crux.core.server.rest.util.header that return MediaType
static MediaType MediaTypeHeaderParser.fromString(String type)
           
static MediaType MediaTypeHeaderParser.parse(String type)
           
 

Methods in org.cruxframework.crux.core.server.rest.util.header with parameters of type MediaType
static String MediaTypeHeaderParser.toString(MediaType type)
           
 



Copyright © 2015. All rights reserved.