com.atlassian.httpclient.apache.httpcomponents
Class DefaultHttpClient

java.lang.Object
  extended by com.atlassian.httpclient.base.AbstractHttpClient
      extended by com.atlassian.httpclient.apache.httpcomponents.DefaultHttpClient
All Implemented Interfaces:
HttpClient, org.springframework.beans.factory.DisposableBean

public class DefaultHttpClient
extends AbstractHttpClient
implements HttpClient, org.springframework.beans.factory.DisposableBean


Constructor Summary
DefaultHttpClient(com.atlassian.event.api.EventPublisher eventPublisher)
           
DefaultHttpClient(com.atlassian.event.api.EventPublisher eventPublisher, HttpClientOptions options)
           
 
Method Summary
 void destroy()
           
 ResponsePromise execute(DefaultRequest request)
           
 void flushCacheByUriPattern(java.util.regex.Pattern urlPattern)
           
 
Methods inherited from class com.atlassian.httpclient.base.AbstractHttpClient
newRequest, newRequest, newRequest, newRequest, newRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.httpclient.api.HttpClient
newRequest, newRequest, newRequest, newRequest, newRequest
 

Constructor Detail

DefaultHttpClient

public DefaultHttpClient(com.atlassian.event.api.EventPublisher eventPublisher)

DefaultHttpClient

public DefaultHttpClient(com.atlassian.event.api.EventPublisher eventPublisher,
                         HttpClientOptions options)
Method Detail

execute

public ResponsePromise execute(DefaultRequest request)
Specified by:
execute in class AbstractHttpClient

destroy

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

flushCacheByUriPattern

public void flushCacheByUriPattern(java.util.regex.Pattern urlPattern)
Specified by:
flushCacheByUriPattern in interface HttpClient


Copyright © 2012 Atlassian. All Rights Reserved.