public enum SpdyVersion extends Enum<SpdyVersion>
Modifier and Type | Method and Description |
---|---|
static SpdyVersion |
valueOf(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
public static final SpdyVersion SPDY_3_1
public static SpdyVersion[] values()
for (SpdyVersion c : SpdyVersion.values()) System.out.println(c);
public static SpdyVersion 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 © 2008-2014 The Netty Project. All Rights Reserved.