|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.http.impl.nio.NHttpConnectionBase
org.apache.http.impl.nio.DefaultNHttpClientConnection
org.apache.http.impl.nio.conn.DefaultClientAsyncConnection
public class DefaultClientAsyncConnection
Field Summary |
---|
Fields inherited from class org.apache.http.impl.nio.DefaultNHttpClientConnection |
---|
requestWriter, responseParser |
Fields 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, status |
Fields inherited from interface org.apache.http.nio.NHttpConnection |
---|
ACTIVE, CLOSED, CLOSING |
Constructor Summary | |
---|---|
DefaultClientAsyncConnection(String id,
org.apache.http.nio.reactor.IOSession iosession,
HttpResponseFactory responseFactory,
org.apache.http.nio.util.ByteBufferAllocator allocator,
HttpParams params)
|
Method Summary | |
---|---|
String |
getId()
|
org.apache.http.nio.reactor.IOSession |
getIOSession()
|
void |
submitRequest(HttpRequest request)
|
String |
toString()
|
void |
upgrade(org.apache.http.nio.reactor.IOSession iosession)
|
Methods inherited from class org.apache.http.impl.nio.DefaultNHttpClientConnection |
---|
consumeInput, consumeInput, createRequestWriter, createResponseParser, isRequestSubmitted, produceOutput, produceOutput, resetInput, resetOutput |
Methods inherited from class org.apache.http.impl.nio.NHttpConnectionBase |
---|
assertNotClosed, bind, close, createConnectionMetrics, createContentDecoder, createContentEncoder, createTransportMetrics, getContext, getHttpRequest, getHttpResponse, getLocalAddress, getLocalPort, getMetrics, getRemoteAddress, getRemotePort, getSocketTimeout, getStatus, hasBufferedInput, hasBufferedOutput, isOpen, isStale, prepareDecoder, prepareEncoder, requestInput, requestOutput, setSocketTimeout, shutdown, suspendInput, suspendOutput |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.http.nio.NHttpClientConnection |
---|
isRequestSubmitted, resetInput, resetOutput |
Methods inherited from interface org.apache.http.nio.NHttpConnection |
---|
getContext, getHttpRequest, getHttpResponse, getStatus |
Methods inherited from interface org.apache.http.HttpConnection |
---|
close, getMetrics, getSocketTimeout, isOpen, isStale, setSocketTimeout, shutdown |
Methods inherited from interface org.apache.http.nio.IOControl |
---|
requestInput, requestOutput, shutdown, suspendInput, suspendOutput |
Methods inherited from interface org.apache.http.HttpInetConnection |
---|
getLocalAddress, getLocalPort, getRemoteAddress, getRemotePort |
Constructor Detail |
---|
public DefaultClientAsyncConnection(String id, org.apache.http.nio.reactor.IOSession iosession, HttpResponseFactory responseFactory, org.apache.http.nio.util.ByteBufferAllocator allocator, HttpParams params)
Method Detail |
---|
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()
public void submitRequest(HttpRequest request) throws IOException, HttpException
submitRequest
in interface org.apache.http.nio.NHttpClientConnection
submitRequest
in class org.apache.http.impl.nio.DefaultNHttpClientConnection
IOException
HttpException
public String toString()
toString
in class org.apache.http.impl.nio.NHttpConnectionBase
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |