|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.w3c.www.http.HttpExt
public class HttpExt
Field Summary | |
---|---|
protected java.util.Hashtable |
exts
|
protected boolean |
generated
|
protected boolean |
headers
|
protected java.lang.String |
name
|
protected java.lang.String |
ns
|
Constructor Summary | |
---|---|
protected |
HttpExt()
|
|
HttpExt(HttpExt old)
Constructor, for User |
|
HttpExt(java.lang.String name,
boolean headers)
Constructor, for User |
Method Summary | |
---|---|
void |
addDeclExt(java.lang.String token,
java.lang.String value)
Add an http extension declaration |
java.lang.String |
getDeclExt(java.lang.String name)
Get an http extension declaration token value. |
java.util.Enumeration |
getDeclExtNames()
Get all http extension declaration |
java.lang.String |
getName()
Get the http extension declaration name. |
java.lang.String |
getNamespace()
Get the http extension declaration namespace. |
protected java.lang.String |
getRealHeader(java.lang.String header)
|
protected boolean |
isGenerated()
|
boolean |
needsHeaders()
Does this extension needs specific headers? |
protected void |
setName(java.lang.String name)
|
protected void |
setNamespace(java.lang.String ns)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.lang.String name
protected java.lang.String ns
protected java.util.Hashtable exts
protected boolean generated
protected boolean headers
Constructor Detail |
---|
public HttpExt(java.lang.String name, boolean headers)
name
- the Http extension declaration nameheader
- Does this extension needs specific headers?
(absoluteURI or field-name)public HttpExt(HttpExt old)
old
- the old Http extension declaration
If you want to reply the same extension, use this
contructor.protected HttpExt()
Method Detail |
---|
protected void setName(java.lang.String name)
public java.lang.String getName()
protected void setNamespace(java.lang.String ns)
public java.lang.String getNamespace()
public boolean needsHeaders()
public void addDeclExt(java.lang.String token, java.lang.String value)
name
- the token name.value
- the value.public java.lang.String getDeclExt(java.lang.String name)
name
- the token name.
public java.util.Enumeration getDeclExtNames()
protected java.lang.String getRealHeader(java.lang.String header)
public java.lang.String toString()
toString
in class java.lang.Object
protected boolean isGenerated()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |