IBM WebSphere Application ServerTM
Release 7

com.ibm.websphere.http.headers
Class HTTPVersion

java.lang.Object
  extended by org.eclipse.emf.common.util.AbstractEnumerator
      extended by com.ibm.websphere.http.headers.HTTPVersion
All Implemented Interfaces:
org.eclipse.emf.common.util.Enumerator

public final class HTTPVersion
extends org.eclipse.emf.common.util.AbstractEnumerator

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

See Also:
HeadersPackage.getHTTPVersion()

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 org.eclipse.emf.common.util.AbstractEnumerator
getLiteral, getName, getValue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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.


IBM WebSphere Application ServerTM
Release 7