com.ibm.websphere.http.headers
Class HTTPVersion
- java.lang.Object
-
- org.eclipse.emf.common.util.AbstractEnumerator
-
- 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
Fields Modifier and Type Field and Description static int
_10
The '10' literal value.static HTTPVersion
_10_LITERAL
The '10' literal objectstatic int
_11
The '11' literal value.static HTTPVersion
_11_LITERAL
The '11' literal objectstatic java.lang.String
COPYRIGHT
static java.util.List
VALUES
A public read-only list of all the 'HTTP Version' enumerators
-
Method Summary
Methods Modifier and Type Method and Description static HTTPVersion
get(int value)
Returns the 'HTTP Version' literal with the specified integer valuestatic HTTPVersion
get(java.lang.String literal)
Returns the 'HTTP Version' literal with the specified literal valuestatic HTTPVersion
getByName(java.lang.String name)
Returns the 'HTTP Version' literal with the specified name
-
-
-
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.
-
-