| Modifier and Type | Class and Description |
|---|---|
| public static enum | Http2Headers.
HTTP/2 pseudo-headers names. |
| Modifier and Type | Method and Description |
|---|---|
| public Http2Headers | |
| public CharSequence | |
| public boolean | contains(CharSequence
the name of the header to find name, CharSequence the value of the header to find value, boolean true then a case insensitive compare is run to compare values.
otherwise a case sensitive compare is run to compare values.Returns |
| public Iterator | iterator()
Redeclares io. |
| public Http2Headers | |
| public CharSequence | |
| public Http2Headers | |
| public CharSequence | |
| public Http2Headers | |
| public CharSequence | |
| public Http2Headers | |
| public CharSequence | |
| public Iterator | valueIterator(CharSequence
the name of the header to retrieve name)Equivalent to |
| authority | back to summary |
|---|---|
| public Http2Headers authority(CharSequence value) Sets the | |
| authority | back to summary |
|---|---|
| public CharSequence authority() Gets the | |
| contains | back to summary |
|---|---|
| public boolean contains(CharSequence name, CharSequence value, boolean caseInsensitive) Returns
If
| |
| iterator | back to summary |
|---|---|
| public Iterator Redeclares io. Returns an iterator over all HTTP/2 headers. The iteration order is as follows: 1. All pseudo headers (order not specified). 2. All non-pseudo headers (in insertion order).
| |
| method | back to summary |
|---|---|
| public Http2Headers method(CharSequence value) Sets the | |
| method | back to summary |
|---|---|
| public CharSequence method() Gets the | |
| path | back to summary |
|---|---|
| public Http2Headers path(CharSequence value) Sets the | |
| path | back to summary |
|---|---|
| public CharSequence path() Gets the | |
| scheme | back to summary |
|---|---|
| public Http2Headers scheme(CharSequence value) Sets the | |
| scheme | back to summary |
|---|---|
| public CharSequence scheme() Gets the | |
| status | back to summary |
|---|---|
| public Http2Headers status(CharSequence value) Sets the | |
| status | back to summary |
|---|---|
| public CharSequence status() Gets the | |
| valueIterator | back to summary |
|---|---|
| public Iterator Equivalent to
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final Http2Headers. | AUTHORITY
|
| public static final Http2Headers. | METHOD
|
| public static final Http2Headers. | PATH
|
| public static final Http2Headers. | PROTOCOL
|
| private static final char | |
| private static final byte | |
| private final boolean | |
| public static final Http2Headers. | SCHEME
|
| public static final Http2Headers. | STATUS
|
| private final AsciiString |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static Http2Headers. | getPseudoHeader(CharSequence header)
Returns the |
| public static Http2Headers. | getPseudoHeader(AsciiString header)
Returns the |
| private static Http2Headers. | |
| public static boolean | Returns: true if the header follow the pseudo-header formatIndicates whether the specified header follows the pseudo-header format (begins with ':' character) |
| public static boolean | isPseudoHeader(CharSequence header)
Indicates whether the given header name is a valid HTTP/2 pseudo header. |
| public static boolean | isPseudoHeader(AsciiString header)
Indicates whether the given header name is a valid HTTP/2 pseudo header. |
| public static boolean | isPseudoHeader(String header)
Indicates whether the given header name is a valid HTTP/2 pseudo header. |
| public boolean | Returns: true if the pseudo-header is to be used in a request contextIndicates whether the pseudo-header is to be used in a request context. |
| public AsciiString | |
| public static Http2Headers. | |
| public static Http2Headers. |
| AUTHORITY | back to summary |
|---|---|
| public static final Http2Headers.
| |
| METHOD | back to summary |
|---|---|
| public static final Http2Headers.
| |
| PATH | back to summary |
|---|---|
| public static final Http2Headers.
| |
| PROTOCOL | back to summary |
|---|---|
| public static final Http2Headers.
| |
| PSEUDO_HEADER_PREFIX | back to summary |
|---|---|
| private static final char PSEUDO_HEADER_PREFIX | |
| PSEUDO_HEADER_PREFIX_BYTE | back to summary |
|---|---|
| private static final byte PSEUDO_HEADER_PREFIX_BYTE | |
| requestOnly | back to summary |
|---|---|
| private final boolean requestOnly | |
| SCHEME | back to summary |
|---|---|
| public static final Http2Headers.
| |
| STATUS | back to summary |
|---|---|
| public static final Http2Headers.
| |
| value | back to summary |
|---|---|
| private final AsciiString value | |
| PseudoHeaderName | back to summary |
|---|---|
| private PseudoHeaderName(String value, boolean requestOnly) | |
| getPseudoHeader | back to summary |
|---|---|
| public static Http2Headers. Returns the
| |
| getPseudoHeader | back to summary |
|---|---|
| public static Http2Headers. Returns the
| |
| getPseudoHeaderName | back to summary |
|---|---|
| private static Http2Headers. | |
| hasPseudoHeaderFormat | back to summary |
|---|---|
| public static boolean hasPseudoHeaderFormat(CharSequence headerName) Indicates whether the specified header follows the pseudo-header format (begins with ':' character)
| |
| isPseudoHeader | back to summary |
|---|---|
| public static boolean isPseudoHeader(CharSequence header) Indicates whether the given header name is a valid HTTP/2 pseudo header. | |
| isPseudoHeader | back to summary |
|---|---|
| public static boolean isPseudoHeader(AsciiString header) Indicates whether the given header name is a valid HTTP/2 pseudo header. | |
| isPseudoHeader | back to summary |
|---|---|
| public static boolean isPseudoHeader(String header) Indicates whether the given header name is a valid HTTP/2 pseudo header. | |
| isRequestOnly | back to summary |
|---|---|
| public boolean isRequestOnly() Indicates whether the pseudo-header is to be used in a request context.
| |
| value | back to summary |
|---|---|
| public AsciiString value() | |
| valueOf | back to summary |
|---|---|
| public static Http2Headers. | |
| values | back to summary |
|---|---|
| public static Http2Headers. | |