Package com.linecorp.armeria.common
Interface HttpParameters
-
- All Known Implementing Classes:
DefaultHttpParameters
public interface HttpParameters extends Headers<String,String,HttpParameters>
HTTP parameters map.
-
-
Field Summary
Fields Modifier and Type Field Description static HttpParameters
EMPTY_PARAMETERS
An immutable empty HTTP parameters map.
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description default HttpParameters
asImmutable()
Returns the immutable view of this parameters map.static HttpParameters
copyOf(Headers<String,String,?> parameters)
Returns a copy of the specifiedHeaders<String, String, ?>
.static HttpParameters
copyOf(Map<String,? extends Iterable<String>> parameters)
Returns a new HTTP parameters map with the specifiedMap<String, ? extends Iterable<String>>
.static HttpParameters
of()
Returns a new empty HTTP parameters map.-
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 java.lang.Iterable
forEach, spliterator
-
-
-
-
Field Detail
-
EMPTY_PARAMETERS
static final HttpParameters EMPTY_PARAMETERS
An immutable empty HTTP parameters map.
-
-
Method Detail
-
of
static HttpParameters of()
Returns a new empty HTTP parameters map.
-
copyOf
static HttpParameters copyOf(Map<String,? extends Iterable<String>> parameters)
Returns a new HTTP parameters map with the specifiedMap<String, ? extends Iterable<String>>
.
-
copyOf
static HttpParameters copyOf(Headers<String,String,?> parameters)
Returns a copy of the specifiedHeaders<String, String, ?>
.
-
asImmutable
default HttpParameters asImmutable()
Returns the immutable view of this parameters map.
-
-