@UnstableApi public interface Http2Headers extends Headers<CharSequence,CharSequence,Http2Headers>
Modifier and Type | Interface and Description |
---|---|
static class |
Http2Headers.PseudoHeaderName
HTTP/2 pseudo-headers names.
|
Modifier and Type | Method and Description |
---|---|
CharSequence |
authority()
Gets the
Http2Headers.PseudoHeaderName.AUTHORITY header or null if there is no such header |
Http2Headers |
authority(CharSequence value)
Sets the
Http2Headers.PseudoHeaderName.AUTHORITY header or null if there is no such header |
Iterator<Map.Entry<CharSequence,CharSequence>> |
iterator()
Returns an iterator over all HTTP/2 headers.
|
CharSequence |
method()
Gets the
Http2Headers.PseudoHeaderName.METHOD header or null if there is no such header |
Http2Headers |
method(CharSequence value)
Sets the
Http2Headers.PseudoHeaderName.METHOD header or null if there is no such header |
CharSequence |
path()
Gets the
Http2Headers.PseudoHeaderName.PATH header or null if there is no such header |
Http2Headers |
path(CharSequence value)
Sets the
Http2Headers.PseudoHeaderName.PATH header or null if there is no such header |
CharSequence |
scheme()
Gets the
Http2Headers.PseudoHeaderName.SCHEME header or null if there is no such header |
Http2Headers |
scheme(CharSequence value)
Sets the
Http2Headers.PseudoHeaderName.SCHEME header if there is no such header |
CharSequence |
status()
Gets the
Http2Headers.PseudoHeaderName.STATUS header or null if there is no such header |
Http2Headers |
status(CharSequence value)
Sets the
Http2Headers.PseudoHeaderName.STATUS header or null if there is no such header |
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>>
Http2Headers method(CharSequence value)
Http2Headers.PseudoHeaderName.METHOD
header or null
if there is no such headerHttp2Headers scheme(CharSequence value)
Http2Headers.PseudoHeaderName.SCHEME
header if there is no such headerHttp2Headers authority(CharSequence value)
Http2Headers.PseudoHeaderName.AUTHORITY
header or null
if there is no such headerHttp2Headers path(CharSequence value)
Http2Headers.PseudoHeaderName.PATH
header or null
if there is no such headerHttp2Headers status(CharSequence value)
Http2Headers.PseudoHeaderName.STATUS
header or null
if there is no such 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 headerCopyright © 2008–2017 The Netty Project. All rights reserved.