The response body.
The response body.
The response headers.
The response headers.
The response status line.
The response status line.
Delete the given header value from this response.
Append the given value to the body of this response.
Prepend the given value to the body of this response.
Replace the body of this response with the given body.
Sets the content-type response header for XHTML (application/xhtml+xml
), however, if the browser
identifies itself as not accepting this content type, set the response header for HTML
(text/html
).
Return the value of given header.
Replace the status line of this reponse with the given status line.
Add the given header and value to this response.
Add the given header and value to this response. This function fails if the given string value is empty.
Add the given header and value to this response.
The length of the response body.
Returns the response body as a string.
Returns true
if the value of the given content-type header satisfies the given condition.
Returns true
if the value of the given content-type header equals the given value.
Returns true
if this response has set the content-type header.
A map of headers offering optimal seek time.
A map of headers offering optimal seek time.
Sets the Content-Type response header for HTML.
Returns true
if the status code of this response is a 400 Bad Request.
Returns true
if the status code of this response is a 200 OK.
The response status.
The response status.
Sets the ContentType response header according to the W3C MIME Reference if the given request path has a file extension and corresponds to a known file extension.
Sets the ContentType response header according to the W3C MIME Reference if the given request path has a file extension and corresponds to a known file extension.
The response version major of the status line.
The response version minor of the status line.
Sets the Content-Type response header for XHTML.
Sets the Content-Type response header for XML.
Append the given value to the body of this response.
HTTP response. RFC 2616 Section 6 Response.