public enum SpdyVersion extends java.lang.Enum<SpdyVersion>
Enum Constant and Description |
---|
SPDY_3_1 |
Modifier and Type | Field and Description |
---|---|
private int |
minorVersion |
private int |
version |
Modifier and Type | Method and Description |
---|---|
(package private) int |
getMinorVersion() |
(package private) int |
getVersion() |
static SpdyVersion |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SpdyVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpdyVersion SPDY_3_1
public static SpdyVersion[] values()
for (SpdyVersion c : SpdyVersion.values()) System.out.println(c);
public static SpdyVersion valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullint getVersion()
int getMinorVersion()