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 NHttpClientConnectionManagerprivate final org.apache.commons.logging.Logprivate final Threadprivate final AtomicReference<CloseableHttpAsyncClientBase.Status> -
Constructor Summary
ConstructorsConstructorDescriptionCloseableHttpAsyncClientBase(NHttpClientConnectionManager connmgr, ThreadFactory threadFactory, org.apache.http.nio.NHttpClientEventHandler handler) -
Method Summary
Methods inherited from class CloseableHttpPipeliningClient
execute, execute, executeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface HttpAsyncClient
execute, execute, execute, execute, execute, executeMethods inherited from interface 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:
startin classCloseableHttpAsyncClient
-
ensureRunning
protected void ensureRunning() -
close
public void close() -
isRunning
public boolean isRunning()- Specified by:
isRunningin classCloseableHttpAsyncClient
-