com.atlassian.httpclient.apache.httpcomponents
Class DefaultHttpClientFactory

java.lang.Object
  extended by 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, ThreadLocalContextManager threadLocalContextManager)
           
 
Method Summary
 HttpClient create(HttpClientOptions options)
           
 HttpClient create(HttpClientOptions options, ThreadLocalContextManager threadLocalContextManager)
           
 void destroy()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultHttpClientFactory

public DefaultHttpClientFactory(com.atlassian.event.api.EventPublisher eventPublisher,
                                com.atlassian.sal.api.ApplicationProperties applicationProperties,
                                ThreadLocalContextManager threadLocalContextManager)
Method Detail

create

public HttpClient create(HttpClientOptions options)
Specified by:
create in interface HttpClientFactory

create

public HttpClient create(HttpClientOptions options,
                         ThreadLocalContextManager threadLocalContextManager)
Specified by:
create in interface HttpClientFactory

destroy

public void destroy()
             throws java.lang.Exception
Specified by:
destroy in interface org.springframework.beans.factory.DisposableBean
Throws:
java.lang.Exception


Copyright © 2012-2013 Atlassian. All Rights Reserved.