public class AcceptableToken extends Token implements QualityFactor
| Modifier and Type | Field and Description |
|---|---|
protected int |
quality |
DEFAULT_QUALITY_FACTOR, MAXIMUM_QUALITY, MINUMUM_QUALITY, QUALITY_FACTOR| Constructor and Description |
|---|
AcceptableToken(HttpHeaderReader reader) |
AcceptableToken(String header) |
| Modifier and Type | Method and Description |
|---|---|
int |
getQuality() |
getToken, isCompatiblepublic AcceptableToken(String header) throws ParseException
ParseExceptionpublic AcceptableToken(HttpHeaderReader reader) throws ParseException
ParseExceptionpublic int getQuality()
getQuality in interface QualityFactorCopyright © 2014 Oracle Corporation. All rights reserved.