## org.w3c.www.http
Class HttpAcceptEncoding

    java.lang.Object
      |
      +--org.w3c.www.http.BasicValue
            |
            +--org.w3c.www.http.HttpAcceptEncoding

public class HttpAcceptEncoding
extends BasicValue

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()`
`protected void` | `invalidateByteValue()`
`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()`

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

### HttpAcceptEncoding

    public HttpAcceptEncoding()

Method Detail

### parse

    protected void parse()
                  throws HttpParserException

  parse.
  Throws:
    HttpParserException - if parsing failed.
  Overrides:
    parse in class BasicValue

### invalidateByteValue

    protected void invalidateByteValue()

  Overrides:
    invalidateByteValue in class BasicValue

### updateByteValue

    protected void updateByteValue()

  Overrides:
    updateByteValue in class BasicValue

### getValue

    public java.lang.Object getValue()

  Overrides:
    getValue in class BasicValue

### getEncoding

    public java.lang.String getEncoding()

  Get this accept encoding clause encoding.
  Returns:
    A String encoding the encoding token.

### setEncoding

    public void setEncoding(java.lang.String encoding)

  Set the encoding accepted by this clause.
  Parameters:
    `encoding` - The accepted encoding.

### getQuality

    public double getQuality()

  Get the quality at which this encoding is accepted.
  Returns:
    A double value, encoding the quality, or 1.0 if undefined.

### setQuality

    public void setQuality(double quality)

  Set the quality under which this encoding is accepted.
  Parameters:
    `q` - The quality for this encoding.