|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.resteasy.core.request.AcceptHeaders
public class AcceptHeaders
Constructor Summary | |
---|---|
AcceptHeaders()
|
Method Summary | |
---|---|
static java.util.Map<java.util.Locale,QualityValue> |
getLocaleQualityValues(java.lang.String header)
Gets the locales from a comma-separated list. |
static java.util.Map<MediaType,QualityValue> |
getMediaTypeQualityValues(java.lang.String header)
Gets the media types from a comma-separated list. |
static java.util.Map<java.lang.String,QualityValue> |
getStringQualityValues(java.lang.String header)
Gets the strings from a comma-separated list. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AcceptHeaders()
Method Detail |
---|
public static java.util.Map<java.lang.String,QualityValue> getStringQualityValues(java.lang.String header)
null
keys.
header
- the header value.
null
if the header didn't contain any entries.public static java.util.Map<java.util.Locale,QualityValue> getLocaleQualityValues(java.lang.String header)
null
keys.
header
- the header value.
null
if the header didn't contain any entries.public static java.util.Map<MediaType,QualityValue> getMediaTypeQualityValues(java.lang.String header)
header
- the header value.
null
if the header didn't contain any entries.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |