com.ibm.websphere.http.headers
Class HTTPVersion

java.lang.Object
  extended by com.ibm.websphere.http.headers.HTTPVersion

public final class HTTPVersion
extends java.lang.Object

A representation of the literals of the enumeration 'HTTP Version', and utility methods for working with them.


Field Summary
static int _10
          The '10' literal value.
static HTTPVersion _10_LITERAL
          The '10' literal object.
static int _11
          The '11' literal value.
static HTTPVersion _11_LITERAL
          The '11' literal object.
static java.lang.String COPYRIGHT
           
static java.util.List VALUES
          A public read-only list of all the 'HTTP Version' enumerators.
 
Method Summary
static HTTPVersion get(int value)
          Returns the 'HTTP Version' literal with the specified integer value.
static HTTPVersion get(java.lang.String literal)
          Returns the 'HTTP Version' literal with the specified literal value.
static HTTPVersion getByName(java.lang.String name)
          Returns the 'HTTP Version' literal with the specified name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
See Also:
Constant Field Values

_10

public static final int _10
The '10' literal value.

See Also:
_10_LITERAL, Constant Field Values

_11

public static final int _11
The '11' literal value.

See Also:
_11_LITERAL, Constant Field Values

_10_LITERAL

public static final HTTPVersion _10_LITERAL
The '10' literal object.

See Also:
_10

_11_LITERAL

public static final HTTPVersion _11_LITERAL
The '11' literal object.

See Also:
_11

VALUES

public static final java.util.List VALUES
A public read-only list of all the 'HTTP Version' enumerators.

Method Detail

get

public static HTTPVersion get(java.lang.String literal)
Returns the 'HTTP Version' literal with the specified literal value.


getByName

public static HTTPVersion getByName(java.lang.String name)
Returns the 'HTTP Version' literal with the specified name.


get

public static HTTPVersion get(int value)
Returns the 'HTTP Version' literal with the specified integer value.