Package com.linecorp.armeria.common
Class DefaultHttpParameters
- java.lang.Object
-
- io.netty.handler.codec.DefaultHeaders<String,String,HttpParameters>
-
- com.linecorp.armeria.common.DefaultHttpParameters
-
- All Implemented Interfaces:
HttpParameters
,Headers<String,String,HttpParameters>
,Iterable<Map.Entry<String,String>>
public class DefaultHttpParameters extends DefaultHeaders<String,String,HttpParameters> implements HttpParameters
Default implementation ofHttpParameters
which uses theHashingStrategy.JAVA_HASHER
to support case-sensitive parameter names.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.netty.handler.codec.DefaultHeaders
DefaultHeaders.HeaderEntry<K extends Object,V extends Object>, DefaultHeaders.NameValidator<K extends Object>
-
-
Field Summary
-
Fields inherited from class io.netty.handler.codec.DefaultHeaders
head
-
Fields inherited from interface com.linecorp.armeria.common.HttpParameters
EMPTY_PARAMETERS
-
-
Constructor Summary
Constructors Constructor Description DefaultHttpParameters()
Creates a new instance with a default value converter.DefaultHttpParameters(int arraySizeHint)
Create a new instance with a default value converter and the specified hint of array size.
-
Method Summary
-
Methods inherited from class io.netty.handler.codec.DefaultHeaders
add, add, add, add, addBoolean, addByte, addChar, addDouble, addFloat, addImpl, addInt, addLong, addObject, addObject, addObject, addShort, addTimeMillis, clear, contains, contains, contains, containsBoolean, containsByte, containsChar, containsDouble, containsFloat, containsInt, containsLong, containsObject, containsShort, containsTimeMillis, copy, equals, 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, hashCode, isEmpty, iterator, names, newHeaderEntry, remove, set, set, set, set, setAll, setBoolean, setByte, setChar, setDouble, setFloat, setInt, setLong, setObject, setObject, setObject, setShort, setTimeMillis, size, toString, valueConverter, valueIterator
-
Methods inherited from interface io.netty.handler.codec.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, iterator, names, remove, set, set, set, set, setAll, setBoolean, setByte, setChar, setDouble, setFloat, setInt, setLong, setObject, setObject, setObject, setShort, setTimeMillis, size
-
Methods inherited from interface com.linecorp.armeria.common.HttpParameters
asImmutable
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
DefaultHttpParameters
public DefaultHttpParameters()
Creates a new instance with a default value converter.
-
DefaultHttpParameters
public DefaultHttpParameters(int arraySizeHint)
Create a new instance with a default value converter and the specified hint of array size.- Parameters:
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.
-
-