Class EmptyHttp2Headers
java.lang.Object
io.netty.handler.codec.EmptyHeaders<CharSequence, CharSequence, Http2Headers>
io.netty.handler.codec.http2.EmptyHttp2Headers
- All Implemented Interfaces:
Headers<CharSequence, CharSequence, Http2Headers>, Http2Headers, Iterable<Map.Entry<CharSequence, CharSequence>>
public final class EmptyHttp2Headers
extends EmptyHeaders<CharSequence, CharSequence, Http2Headers>
implements Http2Headers
-
Nested Class Summary
Nested classes/interfaces inherited from interface Http2Headers
Http2Headers.PseudoHeaderName -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGets theHttp2Headers.PseudoHeaderName.AUTHORITYheader ornullif there is no such headerauthority(CharSequence authority) Sets theHttp2Headers.PseudoHeaderName.AUTHORITYheaderbooleancontains(CharSequence name, CharSequence value, boolean caseInsensitive) Returnstrueif a header with thenameandvalueexists,falseotherwise.method()Gets theHttp2Headers.PseudoHeaderName.METHODheader ornullif there is no such headermethod(CharSequence method) Sets theHttp2Headers.PseudoHeaderName.METHODheaderpath()Gets theHttp2Headers.PseudoHeaderName.PATHheader ornullif there is no such headerpath(CharSequence path) Sets theHttp2Headers.PseudoHeaderName.PATHheaderscheme()Gets theHttp2Headers.PseudoHeaderName.SCHEMEheader ornullif there is no such headerscheme(CharSequence status) Sets theHttp2Headers.PseudoHeaderName.SCHEMEheaderstatus()Gets theHttp2Headers.PseudoHeaderName.STATUSheader ornullif there is no such headerstatus(CharSequence status) Sets theHttp2Headers.PseudoHeaderName.STATUSheaderMethods inherited from class EmptyHeaders
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, equals, 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, hashCode, isEmpty, iterator, names, remove, set, set, set, set, setAll, setBoolean, setByte, setChar, setDouble, setFloat, setInt, setLong, setObject, setObject, setObject, setShort, setTimeMillis, size, toString, valueIteratorMethods inherited from interface Headers
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, sizeMethods inherited from interface Http2Headers
iterator, valueIteratorMethods inherited from interface Iterable
forEach, spliterator
-
Field Details
-
INSTANCE
-
-
Method Details
-
method
Description copied from interface:Http2HeadersSets theHttp2Headers.PseudoHeaderName.METHODheader- Specified by:
methodin interfaceHttp2Headers
-
scheme
Description copied from interface:Http2HeadersSets theHttp2Headers.PseudoHeaderName.SCHEMEheader- Specified by:
schemein interfaceHttp2Headers
-
authority
Description copied from interface:Http2HeadersSets theHttp2Headers.PseudoHeaderName.AUTHORITYheader- Specified by:
authorityin interfaceHttp2Headers
-
path
Description copied from interface:Http2HeadersSets theHttp2Headers.PseudoHeaderName.PATHheader- Specified by:
pathin interfaceHttp2Headers
-
status
Description copied from interface:Http2HeadersSets theHttp2Headers.PseudoHeaderName.STATUSheader- Specified by:
statusin interfaceHttp2Headers
-
method
Description copied from interface:Http2HeadersGets theHttp2Headers.PseudoHeaderName.METHODheader ornullif there is no such header- Specified by:
methodin interfaceHttp2Headers
-
scheme
Description copied from interface:Http2HeadersGets theHttp2Headers.PseudoHeaderName.SCHEMEheader ornullif there is no such header- Specified by:
schemein interfaceHttp2Headers
-
authority
Description copied from interface:Http2HeadersGets theHttp2Headers.PseudoHeaderName.AUTHORITYheader ornullif there is no such header- Specified by:
authorityin interfaceHttp2Headers
-
path
Description copied from interface:Http2HeadersGets theHttp2Headers.PseudoHeaderName.PATHheader ornullif there is no such header- Specified by:
pathin interfaceHttp2Headers
-
status
Description copied from interface:Http2HeadersGets theHttp2Headers.PseudoHeaderName.STATUSheader ornullif there is no such header- Specified by:
statusin interfaceHttp2Headers
-
contains
Description copied from interface:Http2HeadersReturnstrueif a header with thenameandvalueexists,falseotherwise.If
caseInsensitiveistruethen a case insensitive compare is done on the value.- Specified by:
containsin interfaceHttp2Headers- Parameters:
name- the name of the header to findvalue- the value of the header to findcaseInsensitive-truethen a case insensitive compare is run to compare values. otherwise a case sensitive compare is run to compare values.
-