public interface MutableHeaders extends Headers
EMPTY
Modifier and Type | Method and Description |
---|---|
MutableHeaders |
add(java.lang.CharSequence header,
java.lang.CharSequence value)
Add a header for the given name and value.
|
MutableHeaders |
remove(java.lang.CharSequence header)
Removes a header.
|
default MutableHeaders |
set(java.lang.CharSequence header,
java.lang.CharSequence value)
Sets an HTTP header overriding any existing value.
|
empty, forEach, forEachValue, get, getAll, getFirst, getFirst, getFirst, getFirst, getFirst, isEmpty, iterator, of
asMap, asMap, asProperties, contains, getValue, getValueType, names, of, subMap, subMap, subMap, values
get, get, get, get
MutableHeaders add(java.lang.CharSequence header, java.lang.CharSequence value)
header
- The head namevalue
- The valueMutableHeaders remove(java.lang.CharSequence header)
header
- The header to removedefault MutableHeaders set(java.lang.CharSequence header, java.lang.CharSequence value)
header
- The headervalue
- The value