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
           
Age
           
Allow
           
Cache_Control
           
Content_Disposition
           
Content_Encoding
           
Content_Length
           
Content_Location
           
Content_MD5
           
Content_Range
           
Content_Type
           
RequestUrl
           
RequestVersion
           
ResponseCode
           
ResponseCodeMsg
           
 
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're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Accept_Ranges

public static final Http.Response Accept_Ranges

Age

public static final Http.Response Age

Allow

public static final Http.Response Allow

Cache_Control

public static final Http.Response Cache_Control

Content_Disposition

public static final Http.Response Content_Disposition

Content_Encoding

public static final Http.Response Content_Encoding

Content_Length

public static final Http.Response Content_Length

Content_Location

public static final Http.Response Content_Location

Content_MD5

public static final Http.Response Content_MD5

Content_Range

public static final Http.Response Content_Range

Content_Type

public static final Http.Response Content_Type

RequestUrl

public static final Http.Response RequestUrl

RequestVersion

public static final Http.Response RequestVersion

ResponseCode

public static final Http.Response ResponseCode

ResponseCodeMsg

public static final Http.Response ResponseCodeMsg
Method Detail

values

public static final Http.Response[] values()
Returns an array containing the constants of this enum type, in the order they're 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're 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