|
|||||||||
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.HttpEntityTag
public class HttpEntityTag
Field Summary |
---|
Fields inherited from class org.w3c.www.http.BasicValue |
---|
isValid, raw, rlen, roff |
Constructor Summary | |
---|---|
HttpEntityTag()
|
Method Summary | |
---|---|
java.lang.String |
getTag()
Get this tag value. |
java.lang.Object |
getValue()
HeaderValue implemenntation - Get this header value. |
protected void |
invalidateByteValue()
Invalidate the current byte value for this header, if any. |
boolean |
isWeak()
Is this a weak entity tag ? |
protected void |
parse()
parse the byte value as an entity tag. |
void |
setTag(java.lang.String tag)
Set this tag value. |
void |
setWeak(boolean onoff)
Set this tag weakness. |
protected void |
updateByteValue()
Update the byte value to reflect any changes in the parsed value. |
Methods inherited from class org.w3c.www.http.BasicValue |
---|
addBytes, appendValue, checkByteValue, clone, emit, error, setBytes, setString, toExternalForm, toString, validate |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public HttpEntityTag()
Method Detail |
---|
protected void parse() throws HttpParserException
parse
in class BasicValue
HttpParserException
- if parsing failed.protected void invalidateByteValue()
BasicValue
invalidateByteValue
in class BasicValue
protected void updateByteValue()
updateByteValue
in class BasicValue
public java.lang.Object getValue()
BasicValue
getValue
in interface HeaderValue
getValue
in class BasicValue
public boolean isWeak()
public void setWeak(boolean onoff)
onoff
- A boolean, tag is weak if true.public java.lang.String getTag()
public void setTag(java.lang.String tag)
tag
- The new tag value.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |