Package net.targetr.wtm3.net.http


package net.targetr.wtm3.net.http
HTTP server connections, message models and application response dispatch.

HttpServer accepts sockets and starts a virtual-thread HttpHandler for each connection. The handler detects plain or TLS transport, reads requests, invokes the configured ResponseGenerator, writes responses and manages keep-alive connections and protocol upgrades.

HttpRequest, HttpResponse and Headers represent HTTP messages and their body streams. HttpInterception supplies per-request HttpInterceptor hooks for monitoring the request/response lifecycle. Subpackages provide concrete responses, upstream proxying and WebSocket transport; RCWeb routing is implemented by RootResponder.

Author:
Dr Michael Gardiner