Package org.apache.http.impl.nio.client
Class CloseableHttpAsyncClientBase
java.lang.Object
org.apache.http.impl.nio.client.CloseableHttpAsyncClient
org.apache.http.impl.nio.client.CloseableHttpPipeliningClient
org.apache.http.impl.nio.client.CloseableHttpAsyncClientBase
- All Implemented Interfaces:
Closeable
,AutoCloseable
,HttpAsyncClient
,HttpPipeliningClient
- Direct Known Subclasses:
InternalHttpAsyncClient
,MinimalHttpAsyncClient
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static enum
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final NHttpClientConnectionManager
private final org.apache.commons.logging.Log
private final Thread
private final AtomicReference
<CloseableHttpAsyncClientBase.Status> -
Constructor Summary
ConstructorsConstructorDescriptionCloseableHttpAsyncClientBase
(NHttpClientConnectionManager connmgr, ThreadFactory threadFactory, org.apache.http.nio.NHttpClientEventHandler handler) -
Method Summary
Methods inherited from class org.apache.http.impl.nio.client.CloseableHttpPipeliningClient
execute, execute, execute
Methods inherited from class org.apache.http.impl.nio.client.CloseableHttpAsyncClient
execute, execute, execute, execute, execute
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.http.nio.client.HttpAsyncClient
execute, execute, execute, execute, execute, execute
Methods inherited from interface org.apache.http.nio.client.HttpPipeliningClient
execute
-
Field Details
-
log
private final org.apache.commons.logging.Log log -
connmgr
-
reactorThread
-
status
-
-
Constructor Details
-
CloseableHttpAsyncClientBase
public CloseableHttpAsyncClientBase(NHttpClientConnectionManager connmgr, ThreadFactory threadFactory, org.apache.http.nio.NHttpClientEventHandler handler)
-
-
Method Details
-
start
public void start()- Specified by:
start
in classCloseableHttpAsyncClient
-
ensureRunning
protected void ensureRunning() -
close
public void close() -
isRunning
public boolean isRunning()- Specified by:
isRunning
in classCloseableHttpAsyncClient
-