Package net.targetr.wtm3.net.http.response
package net.targetr.wtm3.net.http.response
Concrete HTTP responses and response-related error handling.
HttpByteArrayResponse serves
in-memory content with gzip negotiation, ETags and single byte ranges.
HttpHandler handles conditional ETag requests.
HttpStringResponse adapts text
to that representation, while
HttpFastStringResponse omits gzip and
cache validation for frequently generated text.
HttpRedirectResponse and
HttpErrorResponse provide redirect
and formatted error responses.
HttpErrorResponseException carries a
prepared response out of request processing, and
SocketExceptionHandler lets response
producers clean up after a connection failure.
- Author:
- Dr Michael Gardiner
-
ClassDescriptionA binary response to the client of known size.Response sent to client after an error.Exception for quickly sending an HttpResponse (usually an error) to a client.Plain text response without automatic ETags, gzip or byte-range handling.Response to redirect the client to another location.Simple plain text response.Callback for connection I/O failures associated with a response.