Mutable header value.
-
Method Summary
Modifier and TypeMethodDescriptionAdd a value to this header.static HeaderWriteableCreate a new mutable header from an existing header.Methods inherited from interface io.helidon.http.Header
allValues, allValues, changing, headerName, name, sensitive, validate, value, valueBytes, valueCount, values, writeHttp1HeaderMethods inherited from interface io.helidon.common.mapper.Value
as, as, as, asBoolean, asDouble, asInt, asLong, asOptional, asString, filter, flatMap, get, get, get, getBoolean, getDouble, getInt, getLong, getString, stream
-
Method Details
-
create
Create a new mutable header from an existing header.- Parameters:
header- header to copy- Returns:
- a new mutable header
-
addValue
Add a value to this header.- Parameters:
value- value to add- Returns:
- this instance
-