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.ChannelResponse
The Channel's implementation of the |
| private static class | HttpChannelState.ErrorCallback
Used as the |
| private static class | HttpChannelState.ErrorResponse
Used as the |
| private class | |
| private class | |
| private static class | HttpChannelState.InitializedCompositeComplianceViolationListener
A Listener that represents multiple user |
| private static class | |
| private static enum | HttpChannelState.StreamSendState
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. |
| 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. |
| 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. Handler#handle(Request, Response, Callback).
|
| public void | recycle()
Implements org. setHttpStream(HttpStream),
onRequest(MetaData. etc. may be performed on the channel.
|
| private void | |
| public void | setHttpStream(HttpStream
the stream)HttpStream to associate to this channel.Implements org. HttpStream to associate to this channel..
|
| public String |