Uses of Interface
org.apache.http.nio.NHttpServerConnection
-
Packages that use NHttpServerConnection Package Description org.apache.http.impl.nio Default implementations of HTTP connections for asynchronous, even driven communication.org.apache.http.nio Core HTTP component APIs and primitives for asynchronous, event driven communication.org.apache.http.nio.protocol Core HTTP protocol execution framework and HTTP protocol handlers for asynchronous, event driven communication. -
-
Uses of NHttpServerConnection in org.apache.http.impl.nio
Classes in org.apache.http.impl.nio that implement NHttpServerConnection Modifier and Type Class Description class
DefaultNHttpServerConnection
Default implementation of theNHttpServerConnection
interface.Methods in org.apache.http.impl.nio with parameters of type NHttpServerConnection Modifier and Type Method Description void
NHttpServerEventHandlerAdaptor. closed(NHttpServerConnection conn)
Deprecated.void
NHttpServerEventHandlerAdaptor. connected(NHttpServerConnection conn)
Deprecated.void
NHttpServerEventHandlerAdaptor. endOfInput(NHttpServerConnection conn)
Deprecated.void
NHttpServerEventHandlerAdaptor. exception(NHttpServerConnection conn, java.lang.Exception ex)
Deprecated.void
NHttpServerEventHandlerAdaptor. inputReady(NHttpServerConnection conn, ContentDecoder decoder)
Deprecated.void
NHttpServerEventHandlerAdaptor. outputReady(NHttpServerConnection conn, ContentEncoder encoder)
Deprecated.void
NHttpServerEventHandlerAdaptor. requestReceived(NHttpServerConnection conn)
Deprecated.void
NHttpServerEventHandlerAdaptor. responseReady(NHttpServerConnection conn)
Deprecated.void
NHttpServerEventHandlerAdaptor. timeout(NHttpServerConnection conn)
Deprecated. -
Uses of NHttpServerConnection in org.apache.http.nio
Subinterfaces of NHttpServerConnection in org.apache.http.nio Modifier and Type Interface Description interface
NHttpServerIOTarget
Deprecated.(4.2) no longer usedMethods in org.apache.http.nio with parameters of type NHttpServerConnection Modifier and Type Method Description void
NHttpServerEventHandler. closed(NHttpServerConnection conn)
Triggered when the connection is closed.void
NHttpServiceHandler. closed(NHttpServerConnection conn)
Deprecated.Triggered when the connection is closed.void
NHttpServerEventHandler. connected(NHttpServerConnection conn)
Triggered when a new incoming connection is created.void
NHttpServiceHandler. connected(NHttpServerConnection conn)
Deprecated.Triggered when a new incoming connection is created.void
NHttpServerEventHandler. endOfInput(NHttpServerConnection conn)
Triggered when the connection is closed by the opposite end point (half-closed).void
NHttpServerEventHandler. exception(NHttpServerConnection conn, java.lang.Exception ex)
Triggered if an error occurs during the HTTP exchange.void
NHttpServiceHandler. exception(NHttpServerConnection conn, java.io.IOException ex)
Deprecated.Triggered when an I/O error occurs while reading from or writing to the underlying channel.void
NHttpServiceHandler. exception(NHttpServerConnection conn, HttpException ex)
Deprecated.Triggered when an HTTP protocol violation occurs while receiving an HTTP request.void
NHttpServerEventHandler. inputReady(NHttpServerConnection conn, ContentDecoder decoder)
Triggered when the underlying channel is ready for reading a new portion of the request entity through the corresponding content decoder.void
NHttpServiceHandler. inputReady(NHttpServerConnection conn, ContentDecoder decoder)
Deprecated.Triggered when the underlying channel is ready for reading a new portion of the request entity through the corresponding content decoder.void
NHttpServerEventHandler. outputReady(NHttpServerConnection conn, ContentEncoder encoder)
Triggered when the underlying channel is ready for writing a next portion of the response entity through the corresponding content encoder.void
NHttpServiceHandler. outputReady(NHttpServerConnection conn, ContentEncoder encoder)
Deprecated.Triggered when the underlying channel is ready for writing a next portion of the response entity through the corresponding content encoder.void
NHttpServerEventHandler. requestReceived(NHttpServerConnection conn)
Triggered when a new HTTP request is received.void
NHttpServiceHandler. requestReceived(NHttpServerConnection conn)
Deprecated.Triggered when a new HTTP request is received.void
NHttpServerEventHandler. responseReady(NHttpServerConnection conn)
Triggered when the connection is ready to accept a new HTTP response.void
NHttpServiceHandler. responseReady(NHttpServerConnection conn)
Deprecated.Triggered when the connection is ready to accept a new HTTP response.void
NHttpServerEventHandler. timeout(NHttpServerConnection conn)
Triggered when no input is detected on this connection over the maximum period of inactivity.void
NHttpServiceHandler. timeout(NHttpServerConnection conn)
Deprecated.Triggered when no input is detected on this connection over the maximum period of inactivity. -
Uses of NHttpServerConnection in org.apache.http.nio.protocol
Fields in org.apache.http.nio.protocol declared as NHttpServerConnection Modifier and Type Field Description private NHttpServerConnection
HttpAsyncService.HttpAsyncExchangeImpl. conn
Methods in org.apache.http.nio.protocol with parameters of type NHttpServerConnection Modifier and Type Method Description void
AsyncNHttpServiceHandler. closed(NHttpServerConnection conn)
Deprecated.void
BufferingHttpServiceHandler. closed(NHttpServerConnection conn)
Deprecated.void
HttpAsyncService. closed(NHttpServerConnection conn)
void
ThrottlingHttpServiceHandler. closed(NHttpServerConnection conn)
Deprecated.private void
HttpAsyncService. commitFinalResponse(NHttpServerConnection conn, HttpAsyncService.State state)
private void
HttpAsyncService. completeRequest(HttpAsyncService.Incoming incoming, NHttpServerConnection conn, HttpAsyncService.State state)
private void
HttpAsyncService. completeResponse(HttpAsyncService.Outgoing outgoing, NHttpServerConnection conn, HttpAsyncService.State state)
void
AsyncNHttpServiceHandler. connected(NHttpServerConnection conn)
Deprecated.void
BufferingHttpServiceHandler. connected(NHttpServerConnection conn)
Deprecated.void
HttpAsyncService. connected(NHttpServerConnection conn)
void
ThrottlingHttpServiceHandler. connected(NHttpServerConnection conn)
Deprecated.void
HttpAsyncService. endOfInput(NHttpServerConnection conn)
void
AsyncNHttpServiceHandler. exception(NHttpServerConnection conn, java.io.IOException ex)
Deprecated.void
AsyncNHttpServiceHandler. exception(NHttpServerConnection conn, HttpException httpex)
Deprecated.void
BufferingHttpServiceHandler. exception(NHttpServerConnection conn, java.io.IOException ioex)
Deprecated.void
BufferingHttpServiceHandler. exception(NHttpServerConnection conn, HttpException httpex)
Deprecated.void
HttpAsyncService. exception(NHttpServerConnection conn, java.lang.Exception cause)
void
ThrottlingHttpServiceHandler. exception(NHttpServerConnection conn, java.io.IOException ex)
Deprecated.void
ThrottlingHttpServiceHandler. exception(NHttpServerConnection conn, HttpException httpex)
Deprecated.private void
ThrottlingHttpServiceHandler. handleRequest(HttpRequest request, ThrottlingHttpServiceHandler.ServerConnState connState, NHttpServerConnection conn)
Deprecated.void
AsyncNHttpServiceHandler. inputReady(NHttpServerConnection conn, ContentDecoder decoder)
Deprecated.void
BufferingHttpServiceHandler. inputReady(NHttpServerConnection conn, ContentDecoder decoder)
Deprecated.void
HttpAsyncService. inputReady(NHttpServerConnection conn, ContentDecoder decoder)
void
ThrottlingHttpServiceHandler. inputReady(NHttpServerConnection conn, ContentDecoder decoder)
Deprecated.void
AsyncNHttpServiceHandler. outputReady(NHttpServerConnection conn, ContentEncoder encoder)
Deprecated.void
BufferingHttpServiceHandler. outputReady(NHttpServerConnection conn, ContentEncoder encoder)
Deprecated.void
HttpAsyncService. outputReady(NHttpServerConnection conn, ContentEncoder encoder)
void
ThrottlingHttpServiceHandler. outputReady(NHttpServerConnection conn, ContentEncoder encoder)
Deprecated.private void
AsyncNHttpServiceHandler. processRequest(NHttpServerConnection conn, HttpRequest request)
Deprecated.void
AsyncNHttpServiceHandler. requestReceived(NHttpServerConnection conn)
Deprecated.void
BufferingHttpServiceHandler. requestReceived(NHttpServerConnection conn)
Deprecated.void
HttpAsyncService. requestReceived(NHttpServerConnection conn)
void
ThrottlingHttpServiceHandler. requestReceived(NHttpServerConnection conn)
Deprecated.void
AsyncNHttpServiceHandler. responseReady(NHttpServerConnection conn)
Deprecated.void
BufferingHttpServiceHandler. responseReady(NHttpServerConnection conn)
Deprecated.void
HttpAsyncService. responseReady(NHttpServerConnection conn)
void
ThrottlingHttpServiceHandler. responseReady(NHttpServerConnection conn)
Deprecated.private void
AsyncNHttpServiceHandler. sendResponse(NHttpServerConnection conn, HttpRequest request, HttpResponse response)
Deprecated.void
AsyncNHttpServiceHandler. timeout(NHttpServerConnection conn)
Deprecated.void
BufferingHttpServiceHandler. timeout(NHttpServerConnection conn)
Deprecated.void
HttpAsyncService. timeout(NHttpServerConnection conn)
void
ThrottlingHttpServiceHandler. timeout(NHttpServerConnection conn)
Deprecated.Constructors in org.apache.http.nio.protocol with parameters of type NHttpServerConnection Constructor Description HttpAsyncExchangeImpl(HttpRequest request, HttpResponse response, HttpAsyncService.State state, NHttpServerConnection conn, HttpContext context)
-