Returns the entity/payload of the request, marshalled into an instance of the given type parameter.
Returns the entity/payload of the request, marshalled into an instance of the given type parameter.
For example, given a case class Customer
then entityAs[Customer]
would attempt
to marshall the entity into an instance of Customer.
The marshaller is chosen by the registered marshallers.
the entity as the marshalled type.
Returns true if the request has a property value set for the given property key
Returns true if the request has a property value set for the given property key
the property to test for
Returns the optional header for the given HeaderName
Returns the optional header for the given HeaderName
the matching header of None
Returns the property value for the given property key.
Returns the property value for the given property key.
the property to test for
Adds a header to the Will replace any existing value for that header.
Adds a header to the Will replace any existing value for that header.
returns the new request with the added header
Adds a property to the Will replace any existing value for that property.
Adds a property to the Will replace any existing value for that property.
returns the new request with the added property