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.
-
mxb
-
-
quality
-
-
Accept(String)
-
-
getMxb()
- Get the mxb parameter.
-
getQuality()
- Get the quality for this accepted mime type.
-
spec()
- Get this accepted type specification.
quality
protected double quality
mxb
protected int mxb
Accept
public Accept(String spec) throws MIMETypeFormatException
getMxb
public int getMxb()
- Get the mxb parameter.
- Returns:
- The mxb parameter value, or -1
if this parameter was left undefined.
getQuality
public double getQuality()
- Get the quality for this accepted mime type.
- Returns:
- The quality requested, or 1.0 if none was
specified.
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