public final class ApacheAsyncHttpClient<C> extends AbstractHttpClient implements HttpClient, org.springframework.beans.factory.DisposableBean
| Constructor and Description |
|---|
ApacheAsyncHttpClient(com.atlassian.event.api.EventPublisher eventConsumer,
com.atlassian.sal.api.ApplicationProperties applicationProperties,
com.atlassian.sal.api.executor.ThreadLocalContextManager<C> threadLocalContextManager) |
ApacheAsyncHttpClient(com.atlassian.event.api.EventPublisher eventConsumer,
com.atlassian.sal.api.ApplicationProperties applicationProperties,
com.atlassian.sal.api.executor.ThreadLocalContextManager<C> threadLocalContextManager,
HttpClientOptions options) |
ApacheAsyncHttpClient(java.lang.String applicationName) |
ApacheAsyncHttpClient(java.lang.String applicationName,
HttpClientOptions options) |
ApacheAsyncHttpClient(com.google.common.base.Supplier<java.lang.String> applicationName,
com.google.common.base.Function<java.lang.Object,java.lang.Void> eventConsumer,
com.atlassian.sal.api.executor.ThreadLocalContextManager<C> threadLocalContextManager,
HttpClientOptions options) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
ResponsePromise |
execute(DefaultRequest request) |
void |
flushCacheByUriPattern(java.util.regex.Pattern urlPattern) |
newRequest, newRequest, newRequest, newRequest, newRequestclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnewRequest, newRequest, newRequest, newRequest, newRequestpublic ApacheAsyncHttpClient(com.atlassian.event.api.EventPublisher eventConsumer,
com.atlassian.sal.api.ApplicationProperties applicationProperties,
com.atlassian.sal.api.executor.ThreadLocalContextManager<C> threadLocalContextManager)
public ApacheAsyncHttpClient(com.atlassian.event.api.EventPublisher eventConsumer,
com.atlassian.sal.api.ApplicationProperties applicationProperties,
com.atlassian.sal.api.executor.ThreadLocalContextManager<C> threadLocalContextManager,
HttpClientOptions options)
public ApacheAsyncHttpClient(java.lang.String applicationName)
public ApacheAsyncHttpClient(java.lang.String applicationName,
HttpClientOptions options)
public ApacheAsyncHttpClient(com.google.common.base.Supplier<java.lang.String> applicationName,
com.google.common.base.Function<java.lang.Object,java.lang.Void> eventConsumer,
com.atlassian.sal.api.executor.ThreadLocalContextManager<C> threadLocalContextManager,
HttpClientOptions options)
public final ResponsePromise execute(DefaultRequest request)
execute in class AbstractHttpClientpublic void destroy()
throws java.lang.Exception
destroy in interface org.springframework.beans.factory.DisposableBeanjava.lang.Exceptionpublic void flushCacheByUriPattern(java.util.regex.Pattern urlPattern)
flushCacheByUriPattern in interface HttpClientCopyright © 2012-2013 Atlassian. All Rights Reserved.