Returns the entity/payload of the request, marshalled into the format identified by the current type parameter of the request.
Returns the entity/payload of the request, marshalled into the format identified by the current type parameter of the request.
the entity as the marshalled type.
Returns the entity/payload of the request as a ByteArrayInputStream
Returns the entity/payload of the request as a UTF-8 encoded String.
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 value for the given header name.
Returns the optional value for the given header name.
the value or none for the header identified by the given key.
Returns the optional header for the given header name.
Returns the HTTP Method used in this request as an uppercase string, eg POST.
Returns the property value for the given property key.
Returns the property value for the given property key.
the property to test for
Creates a new HttpRequest with the given header added.
Creates a new HttpRequest with the given header added. If there is already a header with this value, then the header is replaced.
the new HttpRequest with the added header.
Adds a header to the request.
Adds a header to the request. Will replace any existing value for that header.
returns the new request with the added header