public final class DefaultHttpClientFactory extends Object implements HttpClientFactory, org.springframework.beans.factory.DisposableBean
| Constructor and Description |
|---|
DefaultHttpClientFactory(com.atlassian.event.api.EventPublisher eventPublisher,
com.atlassian.sal.api.ApplicationProperties applicationProperties,
com.atlassian.sal.api.executor.ThreadLocalContextManager threadLocalContextManager) |
| Modifier and Type | Method and Description |
|---|---|
HttpClient |
create(HttpClientOptions options) |
HttpClient |
create(HttpClientOptions options,
com.atlassian.sal.api.executor.ThreadLocalContextManager threadLocalContextManager) |
void |
destroy() |
void |
dispose(HttpClient httpClient) |
public DefaultHttpClientFactory(com.atlassian.event.api.EventPublisher eventPublisher,
com.atlassian.sal.api.ApplicationProperties applicationProperties,
com.atlassian.sal.api.executor.ThreadLocalContextManager threadLocalContextManager)
public HttpClient create(HttpClientOptions options)
create in interface HttpClientFactorypublic HttpClient create(HttpClientOptions options, com.atlassian.sal.api.executor.ThreadLocalContextManager threadLocalContextManager)
create in interface HttpClientFactorypublic void dispose(@NotNull
HttpClient httpClient)
throws Exception
dispose in interface HttpClientFactoryExceptionCopyright © 2012–2016 Atlassian. All rights reserved.