Returns a copy of this message with the entity set to the given one.
Returns a copy of this message with the list of headers set to the given ones.
Returns a copy of this message with the entity and headers set to the given ones.
Java API
Returns true if this message is an:
Returns true if this message is an:
The content encoding as specified by the Content-Encoding header.
The content encoding as specified by the Content-Encoding header. If no Content-Encoding header is present the default value 'identity' is returned.
Java API
Java API
Java API
Java API
Java API
Java API
Returns the first header of the given type if there is one
Returns a copy of this message with the entity transformed by the given function
Returns a copy of this message with the list of headers transformed by the given function
Removes the header with the given name (case-insensitive)
Returns a sharable and serializable copy of this message with a strict entity.
Returns a new message that contains all of the given default headers which didn't already exist (by case-insensitive header name) in this message.
Returns a new message that contains all of the given default headers which didn't already exist (by case-insensitive header name) in this message.
Returns a copy of this message with the list of headers set to the given ones.
(httpMessage: StringAdd).self
(httpMessage: StringFormat).self
(httpMessage: ArrowAssoc[HttpMessage]).x
(Since version 2.10.0) Use leftOfArrow
instead
(httpMessage: Ensuring[HttpMessage]).x
(Since version 2.10.0) Use resultOfEnsuring
instead
Common base class of HttpRequest and HttpResponse.