| java.lang.Object org.w3c.www.http.BasicValue org.w3c.www.http.HttpAcceptLanguage
HttpAcceptLanguage | HttpAcceptLanguage(boolean isValid, String lang, double quality)(Code) | | |
HttpAcceptLanguage | public HttpAcceptLanguage()(Code) | | |
getLanguage | public String getLanguage()(Code) | | Get this accept language clause language.
A String encoding the language token. |
getQuality | public double getQuality()(Code) | | Get the quality at which this language is accepted.
A double value, encoding the quality, or 1.0if undefined. |
invalidateByteValue | protected void invalidateByteValue()(Code) | | |
setLanguage | public void setLanguage(String language)(Code) | | Set the language accepted by this clause.
Parameters: language - The accepted language. |
setQuality | public void setQuality(double quality)(Code) | | Set the quality under which this language is accepted.
Parameters: q - The quality for this language. |
updateByteValue | protected void updateByteValue()(Code) | | |
|
|