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, isCompatible
public AcceptableToken(String header) throws ParseException
ParseException
public AcceptableToken(HttpHeaderReader reader) throws ParseException
ParseException
public int getQuality()
getQuality
in interface QualityFactor
Copyright © 2013 Oracle Corporation. All rights reserved.