@Deprecated public class DefaultClientAsyncConnection extends org.apache.http.impl.nio.DefaultNHttpClientConnection implements ClientAsyncConnection
requestWriter, responseParser
connMetrics, contentDecoder, contentEncoder, context, hasBufferedInput, hasBufferedOutput, inbuf, incomingContentStrategy, inTransportMetrics, outbuf, outgoingContentStrategy, outTransportMetrics, remote, request, response, session, status
ACTIVE, CLOSED, CLOSING
Constructor and Description |
---|
DefaultClientAsyncConnection(String id,
org.apache.http.nio.reactor.IOSession iosession,
HttpResponseFactory responseFactory,
org.apache.http.nio.util.ByteBufferAllocator allocator,
HttpParams params)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
String |
getId()
Deprecated.
|
org.apache.http.nio.reactor.IOSession |
getIOSession()
Deprecated.
|
protected void |
onRequestSubmitted(HttpRequest request)
Deprecated.
|
protected void |
onResponseReceived(HttpResponse response)
Deprecated.
|
String |
toString()
Deprecated.
|
void |
upgrade(org.apache.http.nio.reactor.IOSession iosession)
Deprecated.
|
consumeInput, consumeInput, createRequestWriter, createResponseParser, isRequestSubmitted, produceOutput, produceOutput, resetInput, resetOutput, submitRequest
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, suspendOutput
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isRequestSubmitted, resetInput, resetOutput, submitRequest
getContext, getHttpRequest, getHttpResponse, getStatus
close, getMetrics, getSocketTimeout, isOpen, isStale, setSocketTimeout, shutdown
requestInput, requestOutput, shutdown, suspendInput, suspendOutput
getLocalAddress, getLocalPort, getRemoteAddress, getRemotePort
public DefaultClientAsyncConnection(String id, org.apache.http.nio.reactor.IOSession iosession, HttpResponseFactory responseFactory, org.apache.http.nio.util.ByteBufferAllocator allocator, HttpParams params)
public void upgrade(org.apache.http.nio.reactor.IOSession iosession)
upgrade
in interface ClientAsyncConnection
public org.apache.http.nio.reactor.IOSession getIOSession()
getIOSession
in interface ClientAsyncConnection
public String getId()
protected void onResponseReceived(HttpResponse response)
onResponseReceived
in class org.apache.http.impl.nio.DefaultNHttpClientConnection
protected void onRequestSubmitted(HttpRequest request)
onRequestSubmitted
in class org.apache.http.impl.nio.DefaultNHttpClientConnection
public String toString()
toString
in class org.apache.http.impl.nio.NHttpConnectionBase
Copyright © 2010–2021 The Apache Software Foundation. All rights reserved.