Class w3c.mime.Accept
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class w3c.mime.Accept

java.lang.Object
   |
   +----w3c.mime.MIMEType
           |
           +----w3c.mime.Accept

public class Accept
extends MIMEType
This class represents accpt headers, once parsed.

Variable Index

 o mxb
 o quality

Constructor Index

 o Accept(String)

Method Index

 o getMxb()
Get the mxb parameter.
 o getQuality()
Get the quality for this accepted mime type.
 o spec()
Get this accepted type specification.

Variables

 o quality
  protected double quality
 o mxb
  protected int mxb

Constructors

 o Accept
  public Accept(String spec) throws MIMETypeFormatException

Methods

 o getMxb
  public int getMxb()
Get the mxb parameter.
Returns:
The mxb parameter value, or -1 if this parameter was left undefined.
 o getQuality
  public double getQuality()
Get the quality for this accepted mime type.
Returns:
The quality requested, or 1.0 if none was specified.
 o spec
  public String spec()
Get this accepted type specification.
Returns:
A string describing the MIME type accord to the MIME specification.

All Packages  Class Hierarchy  This Package  Previous  Next  Index