|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--org.w3c.www.http.BasicValue
|
+--org.w3c.www.http.HttpExtList
| Field Summary | |
static int |
CMAN
|
static int |
COPT
|
static int |
MAN
|
static int |
OPT
|
| Fields inherited from class org.w3c.www.http.BasicValue |
isValid, raw, rlen, roff |
| Constructor Summary | |
protected |
HttpExtList()
for parser only |
|
HttpExtList(HttpExt[] exts)
for user. |
|
HttpExtList(HttpExtList old)
Constructor, for User |
| Method Summary | |
void |
addHttpExt(HttpExt ext)
Add an Http extension header. |
HttpExt |
getHttpExt(java.lang.String name)
Get an Http extension header. |
HttpExt[] |
getHttpExts()
Get all Http extensions header. |
int |
getLength()
|
int |
getManOptFlag()
|
java.lang.Object |
getValue()
HeaderValue implemenntation - Get this header value. |
protected void |
parse()
Parse this header value into its various components. |
protected void |
setManOptFlag(int manopt)
|
protected void |
updateByteValue()
Update the RFC822 compatible header value for this object. |
| Methods inherited from class org.w3c.www.http.BasicValue |
addBytes, appendValue, checkByteValue, emit, error, invalidateByteValue, setBytes, setString, toExternalForm, toString, validate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int MAN
public static final int CMAN
public static final int OPT
public static final int COPT
| Constructor Detail |
public HttpExtList(HttpExt[] exts)
exts - the HttpExt array.public HttpExtList(HttpExtList old)
old - the old Http extension declaration list
If you want to reply the same extensions, use this
contructor.protected HttpExtList()
| Method Detail |
public int getManOptFlag()
protected void setManOptFlag(int manopt)
protected void parse()
throws HttpParserException
parse in class BasicValueHttpParserException - if unable to parse.protected void updateByteValue()
BasicValue
updateByteValue in class BasicValuepublic void addHttpExt(HttpExt ext)
ext - an HttpExt.public HttpExt[] getHttpExts()
public int getLength()
public HttpExt getHttpExt(java.lang.String name)
name - The extension identifier (AbsoluteURI or field name)
public java.lang.Object getValue()
BasicValue
getValue in interface HeaderValuegetValue in class BasicValue
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||