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 class DefaultHttpClientFactory
extends java.lang.Object
implements HttpClientFactory, org.springframework.beans.factory.DisposableBean


Constructor Summary
DefaultHttpClientFactory(com.atlassian.event.api.EventPublisher eventPublisher)
           
 
Method Summary
 HttpClient create(HttpClientOptions options)
           
 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)
Method Detail

create

public HttpClient create(HttpClientOptions options)
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 Atlassian. All Rights Reserved.