public abstract class MediaRange
extends java.lang.Object
Constructor and Description |
---|
MediaRange() |
Modifier and Type | Method and Description |
---|---|
abstract java.util.Map<java.lang.String,java.lang.String> |
getParams()
Returns a Map of the parameters of this media-range.
|
abstract java.lang.String |
mainType()
Returns the main-type this media-range matches.
|
abstract boolean |
matches(MediaType mediaType)
Checks if this range matches a given media-type.
|
abstract float |
qValue()
Returns the qValue of this media-range.
|
abstract MediaRange |
withQValue(float qValue)
Returns a copy of this instance with a changed qValue.
|
public abstract java.lang.String mainType()
public abstract float qValue()
public abstract boolean matches(MediaType mediaType)
public abstract java.util.Map<java.lang.String,java.lang.String> getParams()
public abstract MediaRange withQValue(float qValue)