Class HttpChannel

java.lang.Object
org.eclipse.jetty.server.HttpChannel
All Implemented Interfaces:
Runnable, HttpOutput.Interceptor
Direct Known Subclasses:
HttpChannelOverFCGI, HttpChannelOverHttp, HttpChannelOverHTTP2

public abstract class HttpChannel extends Object implements Runnable, HttpOutput.Interceptor
HttpChannel represents a single endpoint for HTTP semantic processing. The HttpChannel is both an HttpParser.RequestHandler, where it passively receives events from an incoming HTTP request, and a Runnable, where it actively takes control of the request/response life cycle and calls the application (perhaps suspending and resuming with multiple calls to run). The HttpChannel signals the switch from passive mode to active mode by returning true to one of the HttpParser.RequestHandler callbacks. The completion of the active phase is signalled by a call to HttpTransport.completed().