com.lightbend.lagom.scaladsl.api.transport
Return a copy of this message header with the given header added to the map of headers.
Return a copy of this message header with the given header added to the map of headers.
If the header already has a value, this value will be added to it.
The name of the header to add.
The value of the header to add.
The new message header.
The header map for the message.
The header map for the message.
The protocol of the message.
The protocol of the message.
Return a copy of this message header with the given header removed from the map of headers.
Return a copy of this message header with the given header removed from the map of headers.
The name of the header to remove.
The new message header.
The status code of the response.
Return a copy of this message header with the given header added to the map of headers.
Return a copy of this message header with the given header added to the map of headers.
If the header already has a value, this value will replace it.
The name of the header to add.
The value of the header to add.
The new message header.
Return a copy of this message header with the headers replaced by the given headers.
Return a copy of this message header with the headers replaced by the given headers.
The headers.
A copy of the message header with the given headers.
Return a copy of this message header with the given protocol.
Return a copy of this message header with the given protocol.
The protocol to set.
A copy of the message header with the given protocol.
Return a copy of this response with the given status code.
Get the header with the given name.
Get the header with the given name.
The lookup is case insensitive.
The name of the header.
The header value.
Get all the header values for the given header name.
Get all the header values for the given header name.
The lookup is case insensitive.
The name of the header.
The header values.
Get all the headers for the message.
Get all the headers for the message.
This header may or may not be mapped down onto HTTP. In order to remain agnostic to the underlying protocol, information required by Lagom, such as protocol information, is extracted. It is encouraged that the protocol information always be used in preference to reading the information directly out of headers, since the headers may not contain the necessary protocol information.
The headers are however still provided, in case information needs to be extracted out of non standard headers.