com.ibm.websphere.http.headers

Class HTTPVersion

  1. java.lang.Object
  2. extended byorg.eclipse.emf.common.util.AbstractEnumerator
  3. extended bycom.ibm.websphere.http.headers.HTTPVersion
All implemented interfaces:
org.eclipse.emf.common.util.Enumerator

  1. public final class HTTPVersion
  2. 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

Modifier and Type Field and Description
  1. static
  2. int
_10
The '10' literal value.
  1. static
  2. HTTPVersion
_10_LITERAL
The '10' literal object
  1. static
  2. int
_11
The '11' literal value.
  1. static
  2. HTTPVersion
_11_LITERAL
The '11' literal object
  1. static
  2. java.lang.String
COPYRIGHT
  1. static
  2. java.util.List
VALUES
A public read-only list of all the 'HTTP Version' enumerators

Method Summary

Modifier and Type Method and Description
  1. static
  2. HTTPVersion
get(int value)
Returns the 'HTTP Version' literal with the specified integer value
  1. static
  2. HTTPVersion
get(java.lang.String literal)
Returns the 'HTTP Version' literal with the specified literal value
  1. static
  2. 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

  1. public static final java.lang.String COPYRIGHT
See Also:

_10

  1. public static final int _10
The '10' literal value.
See Also:

_11

  1. public static final int _11
The '11' literal value.
See Also:

_10_LITERAL

  1. public static final HTTPVersion _10_LITERAL
The '10' literal object.
See Also:

_11_LITERAL

  1. public static final HTTPVersion _11_LITERAL
The '11' literal object.
See Also:

VALUES

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

Method Detail

get

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

getByName

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

get

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