com.atlassian.httpclient.apache.httpcomponents
Class DefaultHttpClientFactory
java.lang.Object
com.atlassian.httpclient.apache.httpcomponents.DefaultHttpClientFactory
- All Implemented Interfaces:
- HttpClientFactory, org.springframework.beans.factory.DisposableBean
public final class DefaultHttpClientFactory
- extends java.lang.Object
- implements HttpClientFactory, org.springframework.beans.factory.DisposableBean
|
Constructor Summary |
DefaultHttpClientFactory(com.atlassian.event.api.EventPublisher eventPublisher,
com.atlassian.sal.api.ApplicationProperties applicationProperties,
com.atlassian.sal.api.executor.ThreadLocalContextManager threadLocalContextManager)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultHttpClientFactory
public DefaultHttpClientFactory(com.atlassian.event.api.EventPublisher eventPublisher,
com.atlassian.sal.api.ApplicationProperties applicationProperties,
com.atlassian.sal.api.executor.ThreadLocalContextManager threadLocalContextManager)
create
public HttpClient create(HttpClientOptions options)
- Specified by:
create in interface HttpClientFactory
create
public HttpClient create(HttpClientOptions options,
com.atlassian.sal.api.executor.ThreadLocalContextManager threadLocalContextManager)
- Specified by:
create in interface HttpClientFactory
dispose
public void dispose(@NotNull
HttpClient httpClient)
throws java.lang.Exception
- Specified by:
dispose in interface HttpClientFactory
- Throws:
java.lang.Exception
destroy
public void destroy()
throws java.lang.Exception
- Specified by:
destroy in interface org.springframework.beans.factory.DisposableBean
- Throws:
java.lang.Exception
Copyright © 2012-2014 Atlassian. All Rights Reserved.