java.lang.AutoCloseable, java.io.Closeable, org.apache.http.HttpConnection, IOControl, NHttpConnection, NHttpServerConnectionDefaultNHttpServerConnection@Deprecated public interface NHttpServerIOTarget extends NHttpServerConnection
NHttpServerConnection used by
IOEventDispatch implementations
to inform server-side connection objects of I/O events.ACTIVE, CLOSED, CLOSING| Modifier and Type | Method | Description |
|---|---|---|
void |
consumeInput(NHttpServiceHandler handler) |
Deprecated.
Triggered when the connection is ready to consume input.
|
void |
produceOutput(NHttpServiceHandler handler) |
Deprecated.
Triggered when the connection is ready to produce output.
|
close, getMetrics, getSocketTimeout, isOpen, isStale, setSocketTimeout, shutdownrequestInput, requestOutput, shutdown, suspendInput, suspendOutputgetContext, getHttpRequest, getHttpResponse, getStatusisResponseSubmitted, resetInput, resetOutput, submitResponsevoid consumeInput(NHttpServiceHandler handler)
handler - the server protocol handler.void produceOutput(NHttpServiceHandler handler)
handler - the server protocol handler.