    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class w3c.www.http.HttpWarning

    java.lang.Object
       |
       +----w3c.www.http.BasicValue
               |
               +----w3c.www.http.HttpWarning

public class HttpWarning
extends BasicValue

##

agent
DISCONNECTED_OPERATION
  Warning status - Disconnected opertaion.
HEURISTIC_EXPIRATION
  Warning status - Heuristic expiration.
list
MISCELANEOUS
  Warning status - Miscellaneous warning.
REVALIDATION_FAILED
  Warning status - Revalidation failed.
STALE
  Warning status - Response is stale.
status
text
TRANSFORMATION_APPLIED
  Warning status - Transformation applied.

##

HttpWarning()

##

getAgent()
  Get this warning agent.
getStatus()
  Get this warning status code.
getText()
  Get the warning text message.
getValue()
  HeaderValue implemenntation - Get this header value.
invalidateByteValue()
  Invalidate the current byte value for this header, if any.
parse()
  Parse this header value into its various components.
setAgent(String)
  Set the agent that is generating the warning.
setStatus(int)
  Set this warning status code.
setText(String)
  Set the text warning message.
updateByteValue()
  Update the RFC822 compatible header value for this object.

##

STALE

      public final static int STALE

  Warning status - Response is stale.

REVALIDATION_FAILED

      public final static int REVALIDATION_FAILED

  Warning status - Revalidation failed.

DISCONNECTED_OPERATION

      public final static int DISCONNECTED_OPERATION

  Warning status - Disconnected opertaion.

HEURISTIC_EXPIRATION

      public final static int HEURISTIC_EXPIRATION

  Warning status - Heuristic expiration.

TRANSFORMATION_APPLIED

      public final static int TRANSFORMATION_APPLIED

  Warning status - Transformation applied.

MISCELANEOUS

      public final static int MISCELANEOUS

  Warning status - Miscellaneous warning.

list

      protected HttpWarningList list

status

      protected int status

agent

      protected String agent

text

      protected String text

##

HttpWarning

      public HttpWarning()

##

parse

      protected void parse() throws HttpParserException

  Parse this header value into its various components.
  Overrides:
    parse in class BasicValue

updateByteValue

      protected void updateByteValue()

  Update the RFC822 compatible header value for this object.
  Overrides:
    updateByteValue in class BasicValue

invalidateByteValue

      protected void invalidateByteValue()

  Invalidate the current byte value for this header, if any.
  Overrides:
    invalidateByteValue in class BasicValue

getValue

      public Object getValue()

  HeaderValue implemenntation - Get this header value.
  Overrides:
    getValue in class BasicValue

getStatus

      public int getStatus()

  Get this warning status code.
  Returns:
    An integer giving the warning status code.

setStatus

      public void setStatus(int status)

  Set this warning status code.
  Parameters:
    status - The status code for this warning.

getAgent

      public String getAgent()

  Get this warning agent.
  Returns:
    A String encoding the agent that generated the warning.

setAgent

      public void setAgent(String agent)

  Set the agent that is generating the warning.
  Parameters:
    agent - The String describing the agent emitting the warning.

getText

      public String getText()

  Get the warning text message.
  Returns:
    A String encoding the text message.

setText

      public void setText(String text)

  Set the text warning message.
  Parameters:
    text - The new text of the warning message.

    All Packages  Class Hierarchy  This Package  Previous  Next  Index