org.jnetpcap.protocol.tcpip
Enum Http.Response

java.lang.Object
  extended by java.lang.Enum<Http.Response>
      extended by org.jnetpcap.protocol.tcpip.Http.Response
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Http.Response>
Enclosing class:
Http

@Field
public static enum Http.Response
extends java.lang.Enum<Http.Response>

HTTP Response fields.

Author:
Mark Bednarczyk, Sly Technologies, Inc.

Enum Constant Summary
Accept_Ranges
          The Accept_ ranges.
Age
          The Age.
Allow
          The Allow.
Cache_Control
          The Cache_ control.
Content_Disposition
          The Content_ disposition.
Content_Encoding
          The Content_ encoding.
Content_Length
          The Content_ length.
Content_Location
          The Content_ location.
Content_MD5
          The Content_ m d5.
Content_Range
          The Content_ range.
Content_Type
          The Content_ type.
Expires
          The Expires.
RequestUrl
          The Request url.
RequestVersion
          The Request version.
ResponseCode
          The Response code.
ResponseCodeMsg
          The Response code msg.
Server
          The Server.
Set_Cookie
          The Set_ cookie.
 
Method Summary
static Http.Response valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Http.Response[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Accept_Ranges

public static final Http.Response Accept_Ranges
The Accept_ ranges.


Age

public static final Http.Response Age
The Age.


Allow

public static final Http.Response Allow
The Allow.


Cache_Control

public static final Http.Response Cache_Control
The Cache_ control.


Content_Disposition

public static final Http.Response Content_Disposition
The Content_ disposition.


Content_Encoding

public static final Http.Response Content_Encoding
The Content_ encoding.


Content_Length

public static final Http.Response Content_Length
The Content_ length.


Content_Location

public static final Http.Response Content_Location
The Content_ location.


Content_MD5

public static final Http.Response Content_MD5
The Content_ m d5.


Content_Range

public static final Http.Response Content_Range
The Content_ range.


Content_Type

public static final Http.Response Content_Type
The Content_ type.


Expires

public static final Http.Response Expires
The Expires.


Server

public static final Http.Response Server
The Server.


Set_Cookie

public static final Http.Response Set_Cookie
The Set_ cookie.


RequestUrl

public static final Http.Response RequestUrl
The Request url.


RequestVersion

public static final Http.Response RequestVersion
The Request version.


ResponseCode

public static final Http.Response ResponseCode
The Response code.


ResponseCodeMsg

public static final Http.Response ResponseCodeMsg
The Response code msg.

Method Detail

values

public static Http.Response[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Http.Response c : Http.Response.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Http.Response valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null