public enum ProtocolVersion extends Enum<ProtocolVersion>
Enum Constant and Description |
---|
PROTOCOL_VERSION_10 |
PROTOCOL_VERSION_11 |
PROTOCOL_VERSION_12 |
PROTOCOL_VERSION_13 |
PROTOCOL_VERSION_20 |
PROTOCOL_VERSION_21 |
PROTOCOL_VERSION_22 |
PROTOCOL_VERSION_23 |
PROTOCOL_VERSION_24 |
PROTOCOL_VERSION_25 |
PROTOCOL_VERSION_26 |
Modifier and Type | Field and Description |
---|---|
static ProtocolVersion |
DEFAULT_PROTOCOL_VERSION |
Modifier and Type | Method and Description |
---|---|
static ProtocolVersion |
parseVersion(String version) |
String |
toString() |
static ProtocolVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProtocolVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProtocolVersion PROTOCOL_VERSION_26
public static final ProtocolVersion PROTOCOL_VERSION_25
public static final ProtocolVersion PROTOCOL_VERSION_24
public static final ProtocolVersion PROTOCOL_VERSION_23
public static final ProtocolVersion PROTOCOL_VERSION_22
public static final ProtocolVersion PROTOCOL_VERSION_21
public static final ProtocolVersion PROTOCOL_VERSION_20
public static final ProtocolVersion PROTOCOL_VERSION_13
public static final ProtocolVersion PROTOCOL_VERSION_12
public static final ProtocolVersion PROTOCOL_VERSION_11
public static final ProtocolVersion PROTOCOL_VERSION_10
public static final ProtocolVersion DEFAULT_PROTOCOL_VERSION
public static ProtocolVersion[] values()
for (ProtocolVersion c : ProtocolVersion.values()) System.out.println(c);
public static ProtocolVersion 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 nullpublic String toString()
toString
in class Enum<ProtocolVersion>
public static ProtocolVersion parseVersion(String version)
Copyright © 2017 JBoss, a division of Red Hat. All rights reserved.