public enum HTTPSPDYHeader extends Enum<HTTPSPDYHeader>
HTTPSPDYHeader
defines the SPDY headers that are not also HTTP headers,
such as method, version, etc. or that are treated differently
by the SPDY protocol, such as host.
Enum Constant and Description |
---|
HOST |
METHOD |
SCHEME |
STATUS |
URI |
VERSION |
Modifier and Type | Method and Description |
---|---|
static HTTPSPDYHeader |
from(short version,
String name) |
String |
name(short version) |
static HTTPSPDYHeader |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HTTPSPDYHeader[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HTTPSPDYHeader METHOD
public static final HTTPSPDYHeader URI
public static final HTTPSPDYHeader VERSION
public static final HTTPSPDYHeader SCHEME
public static final HTTPSPDYHeader HOST
public static final HTTPSPDYHeader STATUS
public static HTTPSPDYHeader[] values()
for (HTTPSPDYHeader c : HTTPSPDYHeader.values()) System.out.println(c);
public static HTTPSPDYHeader 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 static HTTPSPDYHeader from(short version, String name)
public String name(short version)
Copyright © 1995-2015 Webtide. All Rights Reserved.