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
          The Accept.
Accept_Charset
          The Accept_ charset.
Accept_Encoding
          The Accept_ encoding.
Accept_Language
          The Accept_ language.
Accept_Ranges
          The Accept_ ranges.
Authorization
          The Authorization.
Cache_Control
          The Cache_ control.
Connection
          The Connection.
Content_Length
          The Content_ length.
Content_Type
          The Content_ type.
Cookie
          The Cookie.
Date
          The Date.
Host
          The Host.
If_Modified_Since
          The If_ modified_ since.
If_None_Match
          The If_ none_ match.
Proxy_Connection
          The Proxy_ connection.
Referer
          The Referer.
RequestMethod
          The Request method.
RequestUrl
          The Request url.
RequestVersion
          The Request version.
UA_CPU
          The U a_ cpu.
User_Agent
          The 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 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

public static final Http.Request Accept
The Accept.


Accept_Charset

public static final Http.Request Accept_Charset
The Accept_ charset.


Accept_Encoding

public static final Http.Request Accept_Encoding
The Accept_ encoding.


Accept_Ranges

public static final Http.Request Accept_Ranges
The Accept_ ranges.


Accept_Language

public static final Http.Request Accept_Language
The Accept_ language.


UA_CPU

public static final Http.Request UA_CPU
The U a_ cpu.


Proxy_Connection

public static final Http.Request Proxy_Connection
The Proxy_ connection.


Authorization

public static final Http.Request Authorization
The Authorization.


Cache_Control

public static final Http.Request Cache_Control
The Cache_ control.


Connection

public static final Http.Request Connection
The Connection.


Cookie

public static final Http.Request Cookie
The Cookie.


Date

public static final Http.Request Date
The Date.


Host

public static final Http.Request Host
The Host.


If_Modified_Since

public static final Http.Request If_Modified_Since
The If_ modified_ since.


If_None_Match

public static final Http.Request If_None_Match
The If_ none_ match.


Referer

public static final Http.Request Referer
The Referer.


RequestMethod

public static final Http.Request RequestMethod
The Request method.


RequestUrl

public static final Http.Request RequestUrl
The Request url.


RequestVersion

public static final Http.Request RequestVersion
The Request version.


User_Agent

public static final Http.Request User_Agent
The User_ agent.


Content_Length

public static final Http.Request Content_Length
The Content_ length.


Content_Type

public static final Http.Request Content_Type
The Content_ type.

Method Detail

values

public static Http.Request[] 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.Request c : Http.Request.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.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
java.lang.NullPointerException - if the argument is null