com.lightbend.lagom.scaladsl.api.transport
The accepted response protocols for this request.
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.
Return a copy of this request header with the principal cleared.
Return a copy of this request header with the principal cleared.
A copy of this request header.
The header map for the message.
The header map for the message.
The method used to make this request.
The principal for this request, if there is one.
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 URI for this request.
Return a copy of this request header with the given accepted response protocols set.
Return a copy of this request header with the given accepted response protocols set.
The accepted response protocols to set.
A copy of this request header.
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 request header with the given method set.
Return a copy of this request header with the given method set.
The method to set.
A copy of this request header.
Return a copy of this request header with the principal set.
Return a copy of this request header with the principal set.
The principal to set.
A copy of this request header.
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 request header with the given uri set.
Return a copy of this request header with the given uri set.
The uri to set.
A copy of this request header.
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.
A request header.
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.