public class QualitySourceMediaType extends MediaType
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_QUALITY_SOURCE_FACTOR |
static java.lang.String |
QUALITY_SOURCE_FACTOR |
APPLICATION_ATOM_XML, APPLICATION_ATOM_XML_TYPE, APPLICATION_FORM_URLENCODED, APPLICATION_FORM_URLENCODED_TYPE, APPLICATION_JSON, APPLICATION_JSON_TYPE, APPLICATION_OCTET_STREAM, APPLICATION_OCTET_STREAM_TYPE, APPLICATION_SVG_XML, APPLICATION_SVG_XML_TYPE, APPLICATION_XHTML_XML, APPLICATION_XHTML_XML_TYPE, APPLICATION_XML, APPLICATION_XML_TYPE, MEDIA_TYPE_WILDCARD, MULTIPART_FORM_DATA, MULTIPART_FORM_DATA_TYPE, TEXT_HTML, TEXT_HTML_TYPE, TEXT_PLAIN, TEXT_PLAIN_TYPE, TEXT_XML, TEXT_XML_TYPE, WILDCARD, WILDCARD_TYPE
Constructor and Description |
---|
QualitySourceMediaType(MediaType mt) |
QualitySourceMediaType(java.lang.String p,
java.lang.String s) |
QualitySourceMediaType(java.lang.String p,
java.lang.String s,
int qs,
java.util.Map<java.lang.String,java.lang.String> parameters) |
Modifier and Type | Method and Description |
---|---|
int |
getQualitySource() |
static int |
getQualitySource(MediaType mt) |
static QualitySourceMediaType |
valueOf(HttpHeaderReader reader) |
equals, getParameters, getSubtype, getType, hashCode, isCompatible, isWildcardSubtype, isWildcardType, toString, valueOf
public static final java.lang.String QUALITY_SOURCE_FACTOR
public static final int DEFAULT_QUALITY_SOURCE_FACTOR
public QualitySourceMediaType(java.lang.String p, java.lang.String s)
public QualitySourceMediaType(java.lang.String p, java.lang.String s, int qs, java.util.Map<java.lang.String,java.lang.String> parameters)
public QualitySourceMediaType(MediaType mt)
public int getQualitySource()
public static QualitySourceMediaType valueOf(HttpHeaderReader reader) throws java.text.ParseException
java.text.ParseException
public static int getQualitySource(MediaType mt)
Copyright © 2016 Oracle Corporation. All Rights Reserved.