public enum DraftVersion extends Enum<DraftVersion>
Enum Constant and Description |
---|
DRAFT_14 |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(String version) |
static DraftVersion |
fromString(String version) |
String |
getClearTextId() |
int |
getDefaultMaxConcurrentStreams() |
int |
getDefaultStreamWindowSize() |
String |
getTlsId() |
String |
getVersion() |
Http2Connection |
newConnection(Connection<?> connection,
boolean isServer,
Http2BaseFilter handlerFilter) |
String |
toString() |
static DraftVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DraftVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DraftVersion DRAFT_14
public static DraftVersion[] values()
for (DraftVersion c : DraftVersion.values()) System.out.println(c);
public static DraftVersion 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 Http2Connection newConnection(Connection<?> connection, boolean isServer, Http2BaseFilter handlerFilter)
public String toString()
toString
in class Enum<DraftVersion>
public String getVersion()
public String getClearTextId()
public String getTlsId()
public int getDefaultMaxConcurrentStreams()
public int getDefaultStreamWindowSize()
public boolean equals(String version)
public static DraftVersion fromString(String version)
Copyright © 2016 Oracle Corporation. All rights reserved.