public static enum Http2Headers.PseudoHeaderName extends Enum<Http2Headers.PseudoHeaderName>
| Enum Constant and Description |
|---|
AUTHORITY
:authority. |
METHOD
:method. |
PATH
:path. |
SCHEME
:scheme. |
STATUS
:status. |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isPseudoHeader(AsciiString header)
Indicates whether the given header name is a valid HTTP/2 pseudo header.
|
AsciiString |
value() |
static Http2Headers.PseudoHeaderName |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Http2Headers.PseudoHeaderName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Http2Headers.PseudoHeaderName METHOD
:method.public static final Http2Headers.PseudoHeaderName SCHEME
:scheme.public static final Http2Headers.PseudoHeaderName AUTHORITY
:authority.public static final Http2Headers.PseudoHeaderName PATH
:path.public static final Http2Headers.PseudoHeaderName STATUS
:status.public static Http2Headers.PseudoHeaderName[] values()
for (Http2Headers.PseudoHeaderName c : Http2Headers.PseudoHeaderName.values()) System.out.println(c);
public static Http2Headers.PseudoHeaderName 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 AsciiString value()
public static boolean isPseudoHeader(AsciiString header)
Copyright © 2008–2015 The Netty Project. All rights reserved.