public abstract class AbstractHttpClient extends Object implements HttpClient
| Constructor and Description |
|---|
AbstractHttpClient() |
| Modifier and Type | Method and Description |
|---|---|
Request.Builder |
newRequest()
Constructs a new request.
|
Request.Builder |
newRequest(String uri)
Constructs a new Request with the specified URI.
|
Request.Builder |
newRequest(String uri,
String contentType,
String entity)
Constructs a new Request with the specified URI, contentType, and entity.
|
Request.Builder |
newRequest(URI uri)
Constructs a new Request with the specified URI.
|
Request.Builder |
newRequest(URI uri,
String contentType,
String entity)
Constructs a new Request with the specified URI, contentType, and entity.
|
<A> ResponseTransformation.Builder<A> |
transformation() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecute, flushCacheByUriPatternpublic Request.Builder newRequest()
HttpClientnewRequest in interface HttpClientpublic Request.Builder newRequest(URI uri)
HttpClientnewRequest in interface HttpClienturi - The endpoint URI for this requestpublic Request.Builder newRequest(URI uri, String contentType, String entity)
HttpClientnewRequest in interface HttpClienturi - The endpoint URI for this requestcontentType - A textual IANA media typeentity - A string entity to send as this request's message bodypublic Request.Builder newRequest(String uri)
HttpClientnewRequest in interface HttpClienturi - The endpoint URI for this requestpublic Request.Builder newRequest(String uri, String contentType, String entity)
HttpClientnewRequest in interface HttpClienturi - The endpoint URI for this requestcontentType - A textual IANA media typeentity - A string entity to send as this request's message bodypublic <A> ResponseTransformation.Builder<A> transformation()
transformation in interface HttpClientCopyright © 2012–2018 Atlassian. All rights reserved.