Class w3c.www.http.HttpWarning
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

Variable Index

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

Constructor Index

 o HttpWarning()

Method Index

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

Variables

 o STALE
  public final static int STALE
Warning status - Response is stale.
 o REVALIDATION_FAILED
  public final static int REVALIDATION_FAILED
Warning status - Revalidation failed.
 o DISCONNECTED_OPERATION
  public final static int DISCONNECTED_OPERATION
Warning status - Disconnected opertaion.
 o HEURISTIC_EXPIRATION
  public final static int HEURISTIC_EXPIRATION
Warning status - Heuristic expiration.
 o TRANSFORMATION_APPLIED
  public final static int TRANSFORMATION_APPLIED
Warning status - Transformation applied.
 o MISCELANEOUS
  public final static int MISCELANEOUS
Warning status - Miscellaneous warning.
 o list
  protected HttpWarningList list
 o status
  protected int status
 o agent
  protected String agent
 o text
  protected String text

Constructors

 o HttpWarning
  public HttpWarning()

Methods

 o parse
  protected void parse() throws HttpParserException
Parse this header value into its various components.
Overrides:
parse in class BasicValue
 o updateByteValue
  protected void updateByteValue()
Update the RFC822 compatible header value for this object.
Overrides:
updateByteValue in class BasicValue
 o invalidateByteValue
  protected void invalidateByteValue()
Invalidate the current byte value for this header, if any.
Overrides:
invalidateByteValue in class BasicValue
 o getValue
  public Object getValue()
HeaderValue implemenntation - Get this header value.
Overrides:
getValue in class BasicValue
 o getStatus
  public int getStatus()
Get this warning status code.
Returns:
An integer giving the warning status code.
 o setStatus
  public void setStatus(int status)
Set this warning status code.
Parameters:
status - The status code for this warning.
 o getAgent
  public String getAgent()
Get this warning agent.
Returns:
A String encoding the agent that generated the warning.
 o setAgent
  public void setAgent(String agent)
Set the agent that is generating the warning.
Parameters:
agent - The String describing the agent emitting the warning.
 o getText
  public String getText()
Get the warning text message.
Returns:
A String encoding the text message.
 o 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