org.jnetpcap.protocol.tcpip
Enum Http.Request

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

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

HTTP Request fields

Author:
Mark Bednarczyk, Sly Technologies, Inc.

Enum Constant Summary
Accept
           
Accept_Charset
           
Accept_Encoding
           
Accept_Ranges
           
Authorization
           
Cache_Control
           
Connection
           
Cookie
           
Date
           
Host
           
If_Modified_Since
           
If_None_Match
           
Referrer
           
RequestMethod
           
RequestUrl
           
RequestVersion
           
User_Agent
           
 
Method Summary
static Http.Request valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Http.Request[] 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

public static final Http.Request Accept

Accept_Charset

public static final Http.Request Accept_Charset

Accept_Encoding

public static final Http.Request Accept_Encoding

Accept_Ranges

public static final Http.Request Accept_Ranges

Authorization

public static final Http.Request Authorization

Cache_Control

public static final Http.Request Cache_Control

Connection

public static final Http.Request Connection

Cookie

public static final Http.Request Cookie

Date

public static final Http.Request Date

Host

public static final Http.Request Host

If_Modified_Since

public static final Http.Request If_Modified_Since

If_None_Match

public static final Http.Request If_None_Match

Referrer

public static final Http.Request Referrer

RequestMethod

public static final Http.Request RequestMethod

RequestUrl

public static final Http.Request RequestUrl

RequestVersion

public static final Http.Request RequestVersion

User_Agent

public static final Http.Request User_Agent
Method Detail

values

public static final Http.Request[] 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.Request c : Http.Request.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.Request 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