Many methods return Runnables to indicate that further work is needed. These
can be given to an ExecutionStrategy instead of calling known methods like HttpChannel.handle().
| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| public static class | |
| public static class | HttpChannelState.
The Channel's implementation of the |
| private static class | HttpChannelState.
Used as the |
| private static class | HttpChannelState.
Used as the |
| private class | |
| private class | |
| private static class | HttpChannelState.
A Listener that represents multiple user |
| private static class | |
| private static enum | HttpChannelState.
The state of the written response |
| Modifier and Type | Field and Description |
|---|---|
| private Attributes | |
| private boolean | |
| private Throwable | |
| private long | |
| private ComplianceViolation. | |
| private final ConnectionMetaData | |
| private boolean | |
| private boolean | |
| private final HttpChannelState. | |
| private Thread | |
| private final AutoLock | |
| private long | |
| private Runnable | |
| private Consumer | |
| private Predicate | |
| private Content. | |
| private final SerializedInvoker | |
| private HttpChannelState. | |
| private HttpChannelState. | |
| private final ResponseHttpFields | |
| private HttpStream | |
| private HttpChannelState. | |
| private final SerializedInvoker | |
| private static final Logger | |
| private static final Throwable | |
| private static final HttpField | |
| private static final HttpField |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public ByteBufferPool | |
| public Attributes | getCache()
Implements org. A Map which can be used as a cache for object (e.g. Cookie cache). |
| public ComplianceViolation. | |
| public ConnectionMetaData | |
| public HttpConfiguration | |
| public HttpStream | |
| public Invocable. | |
| public Request | getRequest()
Implements org. Returns the |
| public Response | |
| public Scheduler | |
| public Server | |
| public ThreadPool | |
| public void | initialize()
Implements org. Initialize the HttpChannel when a new cycle of request handling begins. |
| public boolean | |
| private boolean | |
| private boolean | |
| private Throwable | |
| private void | |
| public Runnable | onContentAvailable()
Implements org.
|
| public Runnable | onFailure(Throwable
the failure cause. x)Implements org. Notifies this |
| public Runnable | onIdleTimeout(TimeoutException
the timeout. t)Implements org. Notifies this |
| public Runnable | Returns: A Runnable that will callHandler#handle(Request, Response, Callback). Unlike all other Runnables
returned by HttpChannel methods, this runnable should not be mutually excluded or serialized. Specifically
other Runnables returned by methods on this class can be run concurrently with the Runnable
returned from this method.The request metadata to handle. requestImplements org. Start request handling by returning a Runnable that will call |
| public void | recycle()
Implements org. Recycle the HttpChannel, so that a new cycle of calling |
| private void | |
| public void | setHttpStream(HttpStream
the stream)HttpStream to associate to this channel.Implements org. Set the |
| public String |