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