public interface Http2Headers extends Headers<CharSequence,CharSequence,Http2Headers>
Modifier and Type | Interface and Description |
---|---|
static class |
Http2Headers.PseudoHeaderName
HTTP/2 pseudo-headers names.
|
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, size
forEach, spliterator
Iterator<Map.Entry<CharSequence,CharSequence>> iterator()
iterator
in interface Headers<CharSequence,CharSequence,Http2Headers>
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
.Http2Headers method(CharSequence value)
Http2Headers.PseudoHeaderName.METHOD
headerHttp2Headers scheme(CharSequence value)
Http2Headers.PseudoHeaderName.SCHEME
headerHttp2Headers authority(CharSequence value)
Http2Headers.PseudoHeaderName.AUTHORITY
headerHttp2Headers path(CharSequence value)
Http2Headers.PseudoHeaderName.PATH
headerHttp2Headers status(CharSequence value)
Http2Headers.PseudoHeaderName.STATUS
headerCharSequence method()
Http2Headers.PseudoHeaderName.METHOD
header or null
if there is no such headerCharSequence scheme()
Http2Headers.PseudoHeaderName.SCHEME
header or null
if there is no such headerCharSequence authority()
Http2Headers.PseudoHeaderName.AUTHORITY
header or null
if there is no such headerCharSequence path()
Http2Headers.PseudoHeaderName.PATH
header or null
if there is no such headerCharSequence status()
Http2Headers.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.Copyright © 2008–2024 The Netty Project. All rights reserved.