public static enum SpdyOrHttpChooser.SelectedProtocol extends Enum<SpdyOrHttpChooser.SelectedProtocol>
Enum Constant and Description |
---|
HttpVersion1_0 |
HttpVersion1_1 |
None |
SpdyVersion3_1 |
Modifier and Type | Method and Description |
---|---|
static SpdyOrHttpChooser.SelectedProtocol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SpdyOrHttpChooser.SelectedProtocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpdyOrHttpChooser.SelectedProtocol SpdyVersion3_1
public static final SpdyOrHttpChooser.SelectedProtocol HttpVersion1_1
public static final SpdyOrHttpChooser.SelectedProtocol HttpVersion1_0
public static final SpdyOrHttpChooser.SelectedProtocol None
public static SpdyOrHttpChooser.SelectedProtocol[] values()
for (SpdyOrHttpChooser.SelectedProtocol c : SpdyOrHttpChooser.SelectedProtocol.values()) System.out.println(c);
public static SpdyOrHttpChooser.SelectedProtocol 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-2015 The Netty Project. All Rights Reserved.