Class DefaultClientAsyncConnection
java.lang.Object
org.apache.http.impl.nio.NHttpConnectionBase
org.apache.http.impl.nio.DefaultNHttpClientConnection
org.apache.http.impl.nio.conn.DefaultClientAsyncConnection
- All Implemented Interfaces:
Closeable, AutoCloseable, org.apache.http.HttpConnection, org.apache.http.HttpInetConnection, ClientAsyncConnection, org.apache.http.nio.IOControl, org.apache.http.nio.NHttpClientConnection, org.apache.http.nio.NHttpClientIOTarget, org.apache.http.nio.NHttpConnection, org.apache.http.nio.reactor.SessionBufferStatus, org.apache.http.nio.reactor.SocketAccessor
@Deprecated
public class DefaultClientAsyncConnection
extends org.apache.http.impl.nio.DefaultNHttpClientConnection
implements ClientAsyncConnection
Deprecated.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.apache.commons.logging.LogDeprecated.private final StringDeprecated.private final org.apache.commons.logging.LogDeprecated.private org.apache.http.nio.reactor.IOSessionDeprecated.private final org.apache.commons.logging.LogDeprecated.Fields inherited from class org.apache.http.impl.nio.DefaultNHttpClientConnection
requestWriter, responseParserFields inherited from class org.apache.http.impl.nio.NHttpConnectionBase
connMetrics, contentDecoder, contentEncoder, context, hasBufferedInput, hasBufferedOutput, inbuf, incomingContentStrategy, inTransportMetrics, outbuf, outgoingContentStrategy, outTransportMetrics, remote, request, response, session, statusFields inherited from interface org.apache.http.nio.NHttpConnection
ACTIVE, CLOSED, CLOSING -
Constructor Summary
ConstructorsConstructorDescriptionDefaultClientAsyncConnection(String id, org.apache.http.nio.reactor.IOSession iosession, org.apache.http.HttpResponseFactory responseFactory, org.apache.http.nio.util.ByteBufferAllocator allocator, org.apache.http.params.HttpParams params) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptiongetId()Deprecated.org.apache.http.nio.reactor.IOSessionDeprecated.protected voidonRequestSubmitted(org.apache.http.HttpRequest request) Deprecated.protected voidonResponseReceived(org.apache.http.HttpResponse response) Deprecated.toString()Deprecated.voidupgrade(org.apache.http.nio.reactor.IOSession iosession) Deprecated.Methods inherited from class org.apache.http.impl.nio.DefaultNHttpClientConnection
consumeInput, consumeInput, createRequestWriter, createResponseParser, isRequestSubmitted, produceOutput, produceOutput, resetInput, resetOutput, submitRequestMethods inherited from class org.apache.http.impl.nio.NHttpConnectionBase
assertNotClosed, bind, close, createConnectionMetrics, createContentDecoder, createContentEncoder, createIncomingContentStrategy, createOutgoingContentStrategy, createTransportMetrics, getContext, getHttpRequest, getHttpResponse, getLocalAddress, getLocalPort, getMetrics, getRemoteAddress, getRemotePort, getSocket, getSocketTimeout, getStatus, hasBufferedInput, hasBufferedOutput, isOpen, isStale, prepareDecoder, prepareEncoder, requestInput, requestOutput, setSocketTimeout, shutdown, suspendInput, suspendOutputMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.http.HttpConnection
close, getMetrics, getSocketTimeout, isOpen, isStale, setSocketTimeout, shutdownMethods inherited from interface org.apache.http.HttpInetConnection
getLocalAddress, getLocalPort, getRemoteAddress, getRemotePortMethods inherited from interface org.apache.http.nio.IOControl
requestInput, requestOutput, shutdown, suspendInput, suspendOutputMethods inherited from interface org.apache.http.nio.NHttpClientConnection
isRequestSubmitted, resetInput, resetOutput, submitRequestMethods inherited from interface org.apache.http.nio.NHttpConnection
getContext, getHttpRequest, getHttpResponse, getStatus
-
Field Details
-
headerlog
private final org.apache.commons.logging.Log headerlogDeprecated. -
wirelog
private final org.apache.commons.logging.Log wirelogDeprecated. -
log
private final org.apache.commons.logging.Log logDeprecated. -
id
Deprecated. -
original
private org.apache.http.nio.reactor.IOSession originalDeprecated.
-
-
Constructor Details
-
DefaultClientAsyncConnection
public DefaultClientAsyncConnection(String id, org.apache.http.nio.reactor.IOSession iosession, org.apache.http.HttpResponseFactory responseFactory, org.apache.http.nio.util.ByteBufferAllocator allocator, org.apache.http.params.HttpParams params) Deprecated.
-
-
Method Details
-
upgrade
public void upgrade(org.apache.http.nio.reactor.IOSession iosession) Deprecated.- Specified by:
upgradein interfaceClientAsyncConnection
-
getIOSession
public org.apache.http.nio.reactor.IOSession getIOSession()Deprecated.- Specified by:
getIOSessionin interfaceClientAsyncConnection
-
getId
Deprecated. -
onResponseReceived
protected void onResponseReceived(org.apache.http.HttpResponse response) Deprecated.- Overrides:
onResponseReceivedin classorg.apache.http.impl.nio.DefaultNHttpClientConnection
-
onRequestSubmitted
protected void onRequestSubmitted(org.apache.http.HttpRequest request) Deprecated.- Overrides:
onRequestSubmittedin classorg.apache.http.impl.nio.DefaultNHttpClientConnection
-
toString
Deprecated.- Overrides:
toStringin classorg.apache.http.impl.nio.NHttpConnectionBase
-