@BeanIgnore public class MediaRange extends MediaType
Constructor and Description |
---|
MediaRange(HeaderElement e)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
List<NameValuePair> |
getExtensions()
Returns the optional set of custom extensions defined for this type.
|
Float |
getQValue()
Returns the
|
String |
toString() |
compareTo, equals, getParameter, getParameters, getSubType, getSubTypes, getType, hashCode, hasSubType, isMetaSubtype, match, of, ofAll
public MediaRange(HeaderElement e)
e
- The parsed media range element.public Float getQValue()
The quality value is a float between
If 'q' value doesn't make sense for the context (e.g. this range was extracted from a
public List<NameValuePair> getExtensions()
Values are lowercase and never
Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.