public static enum HTTPTransport.HTTP_VERSION extends Enum<HTTPTransport.HTTP_VERSION>
Enum Constant and Description |
---|
HTTP1_0
HTTP version 1.0.
|
HTTP1_1
HTTP version 1.1.
|
Modifier and Type | Method and Description |
---|---|
static HTTPTransport.HTTP_VERSION |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HTTPTransport.HTTP_VERSION[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HTTPTransport.HTTP_VERSION HTTP1_0
public static final HTTPTransport.HTTP_VERSION HTTP1_1
public static HTTPTransport.HTTP_VERSION[] values()
for (HTTPTransport.HTTP_VERSION c : HTTPTransport.HTTP_VERSION.values()) System.out.println(c);
public static HTTPTransport.HTTP_VERSION valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2018 JBoss by Red Hat. All rights reserved.