public interface Http3Headers extends io.netty.handler.codec.Headers<CharSequence,CharSequence,Http3Headers>
| Modifier and Type | Interface and Description |
|---|---|
static class |
Http3Headers.PseudoHeaderName
HTTP/2 (and HTTP/3) pseudo-headers names.
|
| Modifier and Type | Method and Description |
|---|---|
@Nullable CharSequence |
authority()
Gets the
Http3Headers.PseudoHeaderName.AUTHORITY header or null if there is no such header |
Http3Headers |
authority(CharSequence value)
Sets the
Http3Headers.PseudoHeaderName.AUTHORITY header |
boolean |
contains(CharSequence name,
CharSequence value,
boolean caseInsensitive)
Returns
true if a header with the name and value exists, false otherwise. |
Iterator<Map.Entry<CharSequence,CharSequence>> |
iterator()
Returns an iterator over all HTTP/3 headers.
|
@Nullable CharSequence |
method()
Gets the
Http3Headers.PseudoHeaderName.METHOD header or null if there is no such header |
Http3Headers |
method(CharSequence value)
Sets the
Http3Headers.PseudoHeaderName.METHOD header |
@Nullable CharSequence |
path()
Gets the
Http3Headers.PseudoHeaderName.PATH header or null if there is no such header |
Http3Headers |
path(CharSequence value)
Sets the
Http3Headers.PseudoHeaderName.PATH header |
@Nullable CharSequence |
scheme()
Gets the
Http3Headers.PseudoHeaderName.SCHEME header or null if there is no such header |
Http3Headers |
scheme(CharSequence value)
Sets the
Http3Headers.PseudoHeaderName.SCHEME header |
@Nullable CharSequence |
status()
Gets the
Http3Headers.PseudoHeaderName.STATUS header or null if there is no such header |
Http3Headers |
status(CharSequence value)
Sets the
Http3Headers.PseudoHeaderName.STATUS header |
Iterator<CharSequence> |
valueIterator(CharSequence name)
Equivalent to
Headers.getAll(Object) but no intermediate list is generated. |
add, add, add, add, addBoolean, addByte, addChar, addDouble, addFloat, addInt, addLong, addObject, addObject, addObject, addShort, addTimeMillis, clear, contains, contains, containsBoolean, containsByte, containsChar, containsDouble, containsFloat, containsInt, containsLong, containsObject, containsShort, containsTimeMillis, get, get, getAll, getAllAndRemove, getAndRemove, getAndRemove, getBoolean, getBoolean, getBooleanAndRemove, getBooleanAndRemove, getByte, getByte, getByteAndRemove, getByteAndRemove, getChar, getChar, getCharAndRemove, getCharAndRemove, getDouble, getDouble, getDoubleAndRemove, getDoubleAndRemove, getFloat, getFloat, getFloatAndRemove, getFloatAndRemove, getInt, getInt, getIntAndRemove, getIntAndRemove, getLong, getLong, getLongAndRemove, getLongAndRemove, getShort, getShort, getShortAndRemove, getShortAndRemove, getTimeMillis, getTimeMillis, getTimeMillisAndRemove, getTimeMillisAndRemove, isEmpty, names, remove, set, set, set, set, setAll, setBoolean, setByte, setChar, setDouble, setFloat, setInt, setLong, setObject, setObject, setObject, setShort, setTimeMillis, sizeforEach, spliteratorIterator<Map.Entry<CharSequence,CharSequence>> iterator()
iterator in interface io.netty.handler.codec.Headers<CharSequence,CharSequence,Http3Headers>iterator in interface Iterable<Map.Entry<CharSequence,CharSequence>>Iterator<CharSequence> valueIterator(CharSequence name)
Headers.getAll(Object) but no intermediate list is generated.name - the name of the header to retrieveIterator of header values corresponding to name.Http3Headers method(CharSequence value)
Http3Headers.PseudoHeaderName.METHOD headervalue - the value for the header.Http3Headers scheme(CharSequence value)
Http3Headers.PseudoHeaderName.SCHEME headervalue - the value for the header.Http3Headers authority(CharSequence value)
Http3Headers.PseudoHeaderName.AUTHORITY headervalue - the value for the header.Http3Headers path(CharSequence value)
Http3Headers.PseudoHeaderName.PATH headervalue - the value for the header.Http3Headers status(CharSequence value)
Http3Headers.PseudoHeaderName.STATUS headervalue - the value for the header.@Nullable @Nullable CharSequence method()
Http3Headers.PseudoHeaderName.METHOD header or null if there is no such header@Nullable @Nullable CharSequence scheme()
Http3Headers.PseudoHeaderName.SCHEME header or null if there is no such header@Nullable @Nullable CharSequence authority()
Http3Headers.PseudoHeaderName.AUTHORITY header or null if there is no such header@Nullable @Nullable CharSequence path()
Http3Headers.PseudoHeaderName.PATH header or null if there is no such header@Nullable @Nullable CharSequence status()
Http3Headers.PseudoHeaderName.STATUS header or null if there is no such headerboolean contains(CharSequence name, CharSequence value, boolean caseInsensitive)
true if a header with the name and value exists, false otherwise.
If caseInsensitive is true then a case insensitive compare is done on the value.
name - the name of the header to findvalue - the value of the header to findcaseInsensitive - true then a case insensitive compare is run to compare values.
otherwise a case sensitive compare is run to compare values.true if its contained, false otherwise.Copyright © 2020–2024 The Netty Project. All rights reserved.