|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--org.w3c.www.http.BasicValue
|
+--org.w3c.www.http.HttpAcceptCharset
| Field Summary |
| Fields inherited from class org.w3c.www.http.BasicValue |
isValid, raw, rlen, roff |
| Constructor Summary | |
HttpAcceptCharset()
|
|
| Method Summary | |
java.lang.String |
getCharset()
Get this accept charset clause charset. |
double |
getQuality()
Get the quality at which this charset is accepted. |
java.lang.Object |
getValue()
HeaderValue implemenntation - Get this header value. |
protected void |
invalidateByteValue()
Invalidate the current byte value for this header, if any. |
protected void |
parse()
parse. |
void |
setCharset(java.lang.String charset)
Set the charset accepted by this clause. |
void |
setQuality(double quality)
Set the quality under which this charset is accepted. |
protected void |
updateByteValue()
Update the RFC822 compatible header value for this object. |
| Methods inherited from class org.w3c.www.http.BasicValue |
addBytes, appendValue, checkByteValue, emit, error, setBytes, setString, toExternalForm, toString, validate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public HttpAcceptCharset()
| Method Detail |
protected void parse()
throws HttpParserException
parse in class BasicValueHttpParserException - if parsing failed.protected void invalidateByteValue()
BasicValue
invalidateByteValue in class BasicValueprotected void updateByteValue()
BasicValue
updateByteValue in class BasicValuepublic java.lang.Object getValue()
BasicValue
getValue in interface HeaderValuegetValue in class BasicValuepublic java.lang.String getCharset()
public void setCharset(java.lang.String charset)
charset - The accepted charset.public double getQuality()
public void setQuality(double quality)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||