The sequence of values.
The sequence of values. This value is protected and mutable
since subclasses might initially set it to a null
value and then initialize
it lazily.
Append the given headers
Append the given headers
Retrieves the first header value which is associated with the given key.
Retrieves the first header value which is associated with the given key.
Headers data.
Optionally returns the first header value associated with a key.
Optionally returns the first header value associated with a key.
Retrieve all header values associated with the given key.
Retrieve all header values associated with the given key.
True if this request has a body, so we know if we should trigger body parsing.
True if this request has a body, so we know if we should trigger body parsing. The base implementation simply checks for the Content-Length or Transfer-Encoding headers, but subclasses (such as fake requests) may return true in other cases so the headers need not be updated to reflect the body.
Checks if the given header is present.
Checks if the given header is present.
The name of the header (case-insensitive)
true
if the request did contain the header.
The headers as a sequence of name-value pairs.
The headers as a sequence of name-value pairs.
Retrieve all header keys
Retrieve all header keys
Remove any headers with the given keys
Remove any headers with the given keys
Append the given headers, replacing any existing headers having the same keys
Append the given headers, replacing any existing headers having the same keys
Transform the Headers to a Map
Transform the Headers to a Map
Transform the Headers to a Map by ignoring multiple values.
Transform the Headers to a Map by ignoring multiple values.
Fake HTTP headers implementation.
Headers data.