| Modifier and Type | Class and Description |
|---|---|
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private DefaultHeaders. | |
| pack-priv static final DefaultHeaders. | |
| private static final ByteProcessor | |
| private static final DefaultHeaders. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | DefaultHttp2Headers(boolean validate, int
A hint as to how large the hash data structure should be.
The next positive power of two will be used. An upper bound may be enforced. arraySizeHint)Create a new instance. |
| public | DefaultHttp2Headers(boolean validate, boolean validateValues, int
A hint as to how large the hash data structure should be.
The next positive power of two will be used. An upper bound may be enforced. arraySizeHint)Create a new instance. |
| Modifier and Type | Method and Description |
|---|---|
| public Http2Headers | authority(CharSequence value)
Implements io. PseudoHeaderName#AUTHORITY header
|
| public CharSequence | authority()
Implements io. PseudoHeaderName#AUTHORITY header or null if there is no such header
|
| public Http2Headers | clear()
Overrides io. Implements io. |
| public boolean | contains(CharSequence
the header name name, CharSequence the header value of the header to find value)Overrides io. Implements io. true if a header with the name and value exists, false otherwise.
|
| 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.Implements io. true if a header with the name and value exists, false otherwise.
|
| public boolean | equals(Object
the reference object with which to compare. o)Overrides io. |
| public int | hashCode()
Returns a hash code value for this object.
|
| public Http2Headers | method(CharSequence value)
Implements io. PseudoHeaderName#METHOD header
|
| public CharSequence | method()
Implements io. PseudoHeaderName#METHOD header or null if there is no such header
|
| protected final DefaultHeaders. | newHeaderEntry(int h, CharSequence name, CharSequence value, DefaultHeaders.
Overrides io. |
| public Http2Headers | path(CharSequence value)
Implements io. PseudoHeaderName#PATH header
|
| public CharSequence | path()
Implements io. PseudoHeaderName#PATH header or null if there is no such header
|
| public Http2Headers | scheme(CharSequence value)
Implements io. PseudoHeaderName#SCHEME header
|
| public CharSequence | scheme()
Implements io. PseudoHeaderName#SCHEME header or null if there is no such header
|
| public Http2Headers | status(CharSequence value)
Implements io. PseudoHeaderName#STATUS header
|
| public CharSequence | status()
Implements io. PseudoHeaderName#STATUS header or null if there is no such header
|
| protected void | validateName(DefaultHeaders.
the validator to use validator,true if this validation is for adding to the headers, or false if this is for
setting (overwriting) the given header.the name to validate. name)Overrides io. NameValidator to validate the given name.
|
| protected void | validateValue(DefaultHeaders.
Overrides io. |
| firstNonPseudo | back to summary |
|---|---|
| private DefaultHeaders. | |
| HTTP2_NAME_VALIDATOR | back to summary |
|---|---|
| pack-priv static final DefaultHeaders. | |
| HTTP2_NAME_VALIDATOR_PROCESSOR | back to summary |
|---|---|
| private static final ByteProcessor HTTP2_NAME_VALIDATOR_PROCESSOR | |
| VALUE_VALIDATOR | back to summary |
|---|---|
| private static final DefaultHeaders. | |
| DefaultHttp2Headers | back to summary |
|---|---|
| public DefaultHttp2Headers() Create a new instance. Header names will be validated according to rfc7540. | |
| DefaultHttp2Headers | back to summary |
|---|---|
| public DefaultHttp2Headers(boolean validate) Create a new instance.
| |
| DefaultHttp2Headers | back to summary |
|---|---|
| public DefaultHttp2Headers(boolean validate, int arraySizeHint) Create a new instance.
| |
| DefaultHttp2Headers | back to summary |
|---|---|
| public DefaultHttp2Headers(boolean validate, boolean validateValues, int arraySizeHint) Create a new instance.
| |
| authority | back to summary |
|---|---|
| public Http2Headers authority(CharSequence value) Implements io. Doc from io. Sets the
| |
| authority | back to summary |
|---|---|
| public CharSequence authority() Implements io. Doc from io. Gets the
| |
| clear | back to summary |
|---|---|
| public Http2Headers clear() Overrides io. Implements io. Doc from io. Removes all headers. After a call to this method
| |
| contains | back to summary |
|---|---|
| public boolean contains(CharSequence name, CharSequence value) Overrides io. Implements io. Doc from io. Returns
The
| |
| contains | back to summary |
|---|---|
| public boolean contains(CharSequence name, CharSequence value, boolean caseInsensitive) Implements io. Doc from io. Returns
If
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides io. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides io. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| method | back to summary |
|---|---|
| public Http2Headers method(CharSequence value) Implements io. Doc from io. Sets the
| |
| method | back to summary |
|---|---|
| public CharSequence method() Implements io. Doc from io. Gets the
| |
| newHeaderEntry | back to summary |
|---|---|
| protected final DefaultHeaders. Overrides io.
| |
| path | back to summary |
|---|---|
| public Http2Headers path(CharSequence value) Implements io. Doc from io. Sets the
| |
| path | back to summary |
|---|---|
| public CharSequence path() Implements io. Doc from io. Gets the
| |
| scheme | back to summary |
|---|---|
| public Http2Headers scheme(CharSequence value) Implements io. Doc from io. Sets the
| |
| scheme | back to summary |
|---|---|
| public CharSequence scheme() Implements io. Doc from io. Gets the
| |
| status | back to summary |
|---|---|
| public Http2Headers status(CharSequence value) Implements io. Doc from io. Sets the
| |
| status | back to summary |
|---|---|
| public CharSequence status() Implements io. Doc from io. Gets the
| |
| validateName | back to summary |
|---|---|
| protected void validateName(DefaultHeaders. Overrides io. Doc from io. Call out to the given
| |
| validateValue | back to summary |
|---|---|
| protected void validateValue(DefaultHeaders. Overrides io.
| |
| Access | Constructor and Description |
|---|---|
| pack-priv | Http2HeaderEntry(int hash, CharSequence key, CharSequence value, DefaultHeaders.
|
| Modifier and Type | Method and Description |
|---|---|
| protected void |
| Http2HeaderEntry | back to summary |
|---|---|
| pack-priv Http2HeaderEntry(int hash, CharSequence key, CharSequence value, DefaultHeaders. | |
| remove | back to summary |
|---|---|
| protected void remove() Overrides io.
| |