Returns the body message.
Returns the body converted to a new type.
Returns the body converted to a new type.
the new type.
the converted body.
Returns an immutable Map of all headers in this message.
Returns an immutable Map of all headers in this message.
an immutable Map with all the headers.
Changes the body message with a function.
Changes the body message with a function. This method requires a body.
the type taken by the body after the change.
the function that process the body.
a new message with the new body.
Creates or updates a header in the message.
Creates or updates a header in the message.
the key.
the value.
a new Message with the new header.
Changes the message headers with a function.
Changes the message headers with a function.
a function processing the headers of the message.
a new Message with modified headers.
Changes the body message with a function.
Changes the body message with a function. This method let you handle the case when the body don't exist.
the type taken by the body after the change.
the function that process the body.
a new message with the new body.
A message passing through a route. It is immutable and all changes create a new message.
the type of the body.