org.w3c.www.http
Class HttpAcceptEncodingList

java.lang.Object
  extended by org.w3c.www.http.BasicValue
      extended by org.w3c.www.http.HttpAcceptEncodingList
All Implemented Interfaces:
java.lang.Cloneable, HeaderValue

public class HttpAcceptEncodingList
extends BasicValue


Field Summary
 
Fields inherited from class org.w3c.www.http.BasicValue
isValid, raw, rlen, roff
 
Method Summary
 void addEncoding(HttpAcceptEncoding enc)
          Add a clause to that list of accepted encodings.
 java.lang.Object getValue()
          HeaderValue implemenntation - Get this header value.
protected  void parse()
          Parse this header value into its various components.
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, invalidateByteValue, setBytes, setString, toExternalForm, toString, validate
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

parse

protected void parse()
Description copied from class: BasicValue
Parse this header value into its various components.

Specified by:
parse in class BasicValue

updateByteValue

protected void updateByteValue()
Description copied from class: BasicValue
Update the RFC822 compatible header value for this object.

Specified by:
updateByteValue in class BasicValue

getValue

public java.lang.Object getValue()
Description copied from class: BasicValue
HeaderValue implemenntation - Get this header value.

Specified by:
getValue in interface HeaderValue
Specified by:
getValue in class BasicValue
Returns:
An object representing the parsed value for this header.

addEncoding

public void addEncoding(HttpAcceptEncoding enc)
Add a clause to that list of accepted encodings.

Parameters:
lang - The accepted encoding.