    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class org.w3c.www.http.HttpEntityTag

    java.lang.Object
       |
       +----org.w3c.www.http.BasicValue
               |
               +----org.w3c.www.http.HttpEntityTag

public class HttpEntityTag
extends BasicValue

##

HttpEntityTag()

##

getTag()
  Get this tag value.
getValue()
  HeaderValue implemenntation - Get this header value.
invalidateByteValue()
  Invalidate the current byte value for this header, if any.
isWeak()
  Is this a weak entity tag ?
parse()
  Parse the byte value as an entity tag.
setTag(String)
  Set this tag value.
setWeak(boolean)
  Set this tag weakness.
updateByteValue()
  Update the byte value to reflect any changes in the parsed value.

##

HttpEntityTag

     public HttpEntityTag()

##

parse

     protected void parse() throws HttpParserException

  Parse the byte value as an entity tag.

  Overrides:
    parse in class BasicValue

invalidateByteValue

     protected void invalidateByteValue()

  Invalidate the current byte value for this header, if any.

  Overrides:
    invalidateByteValue in class BasicValue

updateByteValue

     protected void updateByteValue()

  Update the byte value to reflect any changes in the parsed value.

  Overrides:
    updateByteValue in class BasicValue

getValue

     public Object getValue()

  HeaderValue implemenntation - Get this header value.

  Overrides:
    getValue in class BasicValue

isWeak

     public boolean isWeak()

  Is this a weak entity tag ?

  Returns:
    A boolean true if the tag is weak.

setWeak

     public void setWeak(boolean onoff)

  Set this tag weakness.

  Parameters:
    onoff - A boolean, tag is weak if true.

getTag

     public String getTag()

  Get this tag value.

  Returns:
    A String giving the entity tag value.

setTag

     public void setTag(String tag)

  Set this tag value.

  Parameters:
    tag - The new tag value.

    All Packages  Class Hierarchy  This Package  Previous  Next  Index