Interface MutableHttpParameters
- All Superinterfaces:
ConversionServiceAware, ConversionServiceProvider, ConvertibleMultiValues<String>, ConvertibleValues<List<String>>, HttpParameters, Iterable<Map.Entry<String, List<String>>>, ValueResolver<CharSequence>
- All Known Implementing Classes:
NettyHttpParameters, SimpleHttpParameters
Mutable version of
HttpParameters which allows adding new parameters.- Since:
- 1.0
- Author:
- Vladimir Orany
-
Field Summary
Fields inherited from interface ConvertibleValues
EMPTY -
Method Summary
Modifier and TypeMethodDescriptiondefault MutableHttpParametersadd(CharSequence name, CharSequence value) Adds a new http parameter.add(CharSequence name, List<CharSequence> values) Adds a new http parameter.Methods inherited from interface ConversionServiceAware
setConversionServiceMethods inherited from interface ConvertibleMultiValues
forEach, forEachValue, get, getAll, getFirst, getFirst, getFirst, getFirst, getFirst, isEmpty, iteratorMethods inherited from interface ConvertibleValues
asMap, asMap, asProperties, contains, getConversionService, getValue, getValueType, names, subMap, subMap, subMap, valuesMethods inherited from interface Iterable
forEach, spliteratorMethods inherited from interface ValueResolver
get, get, get, get
-
Method Details
-
add
Adds a new http parameter.- Parameters:
name- the name of the parametervalue- the value of the parameter- Returns:
- self
-
add
Adds a new http parameter.- Parameters:
name- the name of the parametervalues- the values of the parameter- Returns:
- self
-