public final class DefaultHttpClientFactory extends java.lang.Object implements HttpClientFactory, org.springframework.beans.factory.DisposableBean
| Constructor and Description |
|---|
DefaultHttpClientFactory(com.atlassian.event.api.EventPublisher eventPublisher,
com.atlassian.sal.api.ApplicationProperties applicationProperties,
ThreadLocalContextManager threadLocalContextManager) |
| Modifier and Type | Method and Description |
|---|---|
HttpClient |
create(HttpClientOptions options) |
HttpClient |
create(HttpClientOptions options,
ThreadLocalContextManager threadLocalContextManager) |
void |
destroy() |
public DefaultHttpClientFactory(com.atlassian.event.api.EventPublisher eventPublisher,
com.atlassian.sal.api.ApplicationProperties applicationProperties,
ThreadLocalContextManager threadLocalContextManager)
public HttpClient create(HttpClientOptions options)
create in interface HttpClientFactorypublic HttpClient create(HttpClientOptions options, ThreadLocalContextManager threadLocalContextManager)
create in interface HttpClientFactorypublic void destroy()
throws java.lang.Exception
destroy in interface org.springframework.beans.factory.DisposableBeanjava.lang.ExceptionCopyright © 2012-2013 Atlassian. All Rights Reserved.