|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.w3c.www.http.BasicValue
org.w3c.www.http.HttpAcceptEncoding
public class HttpAcceptEncoding
| Field Summary |
|---|
| Fields inherited from class org.w3c.www.http.BasicValue |
|---|
isValid, raw, rlen, roff |
| Constructor Summary | |
|---|---|
HttpAcceptEncoding()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getEncoding()
Get this accept encoding clause encoding. |
double |
getQuality()
Get the quality at which this encoding 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 |
setEncoding(java.lang.String encoding)
Set the encoding accepted by this clause. |
void |
setQuality(double quality)
Set the quality under which this encoding 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, clone, emit, error, setBytes, setString, toExternalForm, toString, validate |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public HttpAcceptEncoding()
| 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 getEncoding()
public void setEncoding(java.lang.String encoding)
encoding - The accepted encoding.public double getQuality()
public void setQuality(double quality)
q - The quality for this encoding.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||