com.atlassian.httpclient.base
Class AbstractHttpClient

java.lang.Object
  extended by com.atlassian.httpclient.base.AbstractHttpClient
All Implemented Interfaces:
HttpClient
Direct Known Subclasses:
ApacheAsyncHttpClient

public abstract class AbstractHttpClient
extends Object
implements HttpClient


Constructor Summary
AbstractHttpClient()
           
 
Method Summary
 Request.Builder newRequest()
           
 Request.Builder newRequest(String uri)
           
 Request.Builder newRequest(String uri, String contentType, String entity)
           
 Request.Builder newRequest(URI uri)
           
 Request.Builder newRequest(URI uri, String contentType, String entity)
           
<A> ResponseTransformation.Builder<A>
transformation()
           
 
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
execute, flushCacheByUriPattern
 

Constructor Detail

AbstractHttpClient

public AbstractHttpClient()
Method Detail

newRequest

public Request.Builder newRequest()
Specified by:
newRequest in interface HttpClient

newRequest

public Request.Builder newRequest(URI uri)
Specified by:
newRequest in interface HttpClient

newRequest

public Request.Builder newRequest(URI uri,
                                  String contentType,
                                  String entity)
Specified by:
newRequest in interface HttpClient

newRequest

public Request.Builder newRequest(String uri)
Specified by:
newRequest in interface HttpClient

newRequest

public Request.Builder newRequest(String uri,
                                  String contentType,
                                  String entity)
Specified by:
newRequest in interface HttpClient

transformation

public <A> ResponseTransformation.Builder<A> transformation()
Specified by:
transformation in interface HttpClient


Copyright © 2012–2015 Atlassian. All rights reserved.