public final class DefaultHttp3Headers extends io.netty.handler.codec.DefaultHeaders<CharSequence,CharSequence,Http3Headers> implements Http3Headers
io.netty.handler.codec.DefaultHeaders.HeaderEntry<K,V>, io.netty.handler.codec.DefaultHeaders.NameValidator<K>Http3Headers.PseudoHeaderName| Constructor and Description |
|---|
DefaultHttp3Headers()
Create a new instance.
|
DefaultHttp3Headers(boolean validate)
Create a new instance.
|
DefaultHttp3Headers(boolean validate,
int arraySizeHint)
Create a new instance.
|
add, add, add, add, addBoolean, addByte, addChar, addDouble, addFloat, addImpl, addInt, addLong, addObject, addObject, addObject, addShort, addTimeMillis, contains, contains, containsBoolean, containsByte, containsChar, containsDouble, containsFloat, containsInt, containsLong, containsObject, containsShort, containsTimeMillis, copy, 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, valueConverter, valueIteratorclone, finalize, getClass, notify, notifyAll, wait, wait, waititerator, valueIteratoradd, add, add, add, addBoolean, addByte, addChar, addDouble, addFloat, addInt, addLong, addObject, addObject, addObject, addShort, addTimeMillis, 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, spliteratorpublic DefaultHttp3Headers()
Header names will be validated according to rfc7540.
public DefaultHttp3Headers(boolean validate)
validate - true to validate header names according to
rfc7540. false to not validate header names.public DefaultHttp3Headers(boolean validate,
int arraySizeHint)
validate - true to validate header names according to
rfc7540. false to not validate header names.arraySizeHint - 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.public Http3Headers clear()
clear in interface io.netty.handler.codec.Headers<CharSequence,CharSequence,Http3Headers>clear in class io.netty.handler.codec.DefaultHeaders<CharSequence,CharSequence,Http3Headers>public boolean equals(Object o)
equals in class io.netty.handler.codec.DefaultHeaders<CharSequence,CharSequence,Http3Headers>public int hashCode()
hashCode in class io.netty.handler.codec.DefaultHeaders<CharSequence,CharSequence,Http3Headers>public Http3Headers method(CharSequence value)
Http3HeadersHttp3Headers.PseudoHeaderName.METHOD headermethod in interface Http3Headersvalue - the value for the header.public Http3Headers scheme(CharSequence value)
Http3HeadersHttp3Headers.PseudoHeaderName.SCHEME headerscheme in interface Http3Headersvalue - the value for the header.public Http3Headers authority(CharSequence value)
Http3HeadersHttp3Headers.PseudoHeaderName.AUTHORITY headerauthority in interface Http3Headersvalue - the value for the header.public Http3Headers path(CharSequence value)
Http3HeadersHttp3Headers.PseudoHeaderName.PATH headerpath in interface Http3Headersvalue - the value for the header.public Http3Headers status(CharSequence value)
Http3HeadersHttp3Headers.PseudoHeaderName.STATUS headerstatus in interface Http3Headersvalue - the value for the header.public CharSequence method()
Http3HeadersHttp3Headers.PseudoHeaderName.METHOD header or null if there is no such headermethod in interface Http3Headerspublic CharSequence scheme()
Http3HeadersHttp3Headers.PseudoHeaderName.SCHEME header or null if there is no such headerscheme in interface Http3Headerspublic CharSequence authority()
Http3HeadersHttp3Headers.PseudoHeaderName.AUTHORITY header or null if there is no such headerauthority in interface Http3Headerspublic CharSequence path()
Http3HeadersHttp3Headers.PseudoHeaderName.PATH header or null if there is no such headerpath in interface Http3Headerspublic CharSequence status()
Http3HeadersHttp3Headers.PseudoHeaderName.STATUS header or null if there is no such headerstatus in interface Http3Headerspublic boolean contains(CharSequence name, CharSequence value)
contains in interface io.netty.handler.codec.Headers<CharSequence,CharSequence,Http3Headers>contains in class io.netty.handler.codec.DefaultHeaders<CharSequence,CharSequence,Http3Headers>public boolean contains(CharSequence name, CharSequence value, boolean caseInsensitive)
Http3Headerstrue 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.
contains in interface Http3Headersname - 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.protected io.netty.handler.codec.DefaultHeaders.HeaderEntry<CharSequence,CharSequence> newHeaderEntry(int h, CharSequence name, CharSequence value, io.netty.handler.codec.DefaultHeaders.HeaderEntry<CharSequence,CharSequence> next)
newHeaderEntry in class io.netty.handler.codec.DefaultHeaders<CharSequence,CharSequence,Http3Headers>Copyright © 2020–2022 The Netty Project. All rights reserved.