All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class w3c.www.http.HttpAcceptCharset

java.lang.Object
   |
   +----w3c.www.http.BasicValue
           |
           +----w3c.www.http.HttpAcceptCharset

public class HttpAcceptCharset
extends BasicValue

Constructor Index

 o HttpAcceptCharset()

Method Index

 o getCharset()
Get this accept charset clause charset.
 o getQuality()
Get the quality at which this charset is accepted.
 o getValue()
HeaderValue implemenntation - Get this header value.
 o invalidateByteValue()
Invalidate the current byte value for this header, if any.
 o parse()
Parse this header value into its various components.
 o setCharset(String)
Set the charset accepted by this clause.
 o setQuality(double)
Set the quality under which this charset is accepted.
 o updateByteValue()
Update the RFC822 compatible header value for this object.

Constructors

 o HttpAcceptCharset
 public HttpAcceptCharset()

Methods

 o parse
 protected void parse() throws HttpParserException
Parse this header value into its various components.

Overrides:
parse in class BasicValue
 o invalidateByteValue
 protected void invalidateByteValue()
Invalidate the current byte value for this header, if any.

Overrides:
invalidateByteValue in class BasicValue
 o updateByteValue
 protected void updateByteValue()
Update the RFC822 compatible header value for this object.

Overrides:
updateByteValue in class BasicValue
 o getValue
 public Object getValue()
HeaderValue implemenntation - Get this header value.

Overrides:
getValue in class BasicValue
 o getCharset
 public String getCharset()
Get this accept charset clause charset.

Returns:
A String encoding the charset token.
 o setCharset
 public void setCharset(String charset)
Set the charset accepted by this clause.

Parameters:
charset - The accepted charset.
 o getQuality
 public double getQuality()
Get the quality at which this charset is accepted.

Returns:
A double value, encoding the quality, or 1.0 if undefined.
 o setQuality
 public void setQuality(double quality)
Set the quality under which this charset is accepted.

Parameters:
q - The quality for this charset.

All Packages  Class Hierarchy  This Package  Previous  Next  Index