public static enum Http3Headers.PseudoHeaderName extends Enum<Http3Headers.PseudoHeaderName>
| Enum Constant and Description |
|---|
AUTHORITY
:authority. |
METHOD
:method. |
PATH
:path. |
SCHEME
:scheme. |
STATUS
:status. |
| Modifier and Type | Method and Description |
|---|---|
static Http3Headers.PseudoHeaderName |
getPseudoHeader(CharSequence name)
Returns the
Http3Headers.PseudoHeaderName corresponding to the specified header name. |
static boolean |
hasPseudoHeaderFormat(CharSequence headerName)
Indicates whether the specified header follows the pseudo-header format (begins with ':' character)
|
static boolean |
isPseudoHeader(CharSequence name)
Indicates whether the given header name is a valid HTTP/3 pseudo header.
|
boolean |
isRequestOnly()
Indicates whether the pseudo-header is to be used in a request context.
|
io.netty.util.AsciiString |
value() |
static Http3Headers.PseudoHeaderName |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Http3Headers.PseudoHeaderName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Http3Headers.PseudoHeaderName METHOD
:method.public static final Http3Headers.PseudoHeaderName SCHEME
:scheme.public static final Http3Headers.PseudoHeaderName AUTHORITY
:authority.public static final Http3Headers.PseudoHeaderName PATH
:path.public static final Http3Headers.PseudoHeaderName STATUS
:status.public static Http3Headers.PseudoHeaderName[] values()
for (Http3Headers.PseudoHeaderName c : Http3Headers.PseudoHeaderName.values()) System.out.println(c);
public static Http3Headers.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 io.netty.util.AsciiString value()
public static boolean hasPseudoHeaderFormat(CharSequence headerName)
headerName - the header name to check.true if the header follow the pseudo-header formatpublic static boolean isPseudoHeader(CharSequence name)
name - the header name.true if the given header name is a valid HTTP/3 pseudo header, false otherwise.public static Http3Headers.PseudoHeaderName getPseudoHeader(CharSequence name)
Http3Headers.PseudoHeaderName corresponding to the specified header name.name - the header name.Http3Headers.PseudoHeaderName if any, null otherwise.public boolean isRequestOnly()
true if the pseudo-header is to be used in a request contextCopyright © 2020–2022 The Netty Project. All rights reserved.