public abstract class ForwardingHttpClient extends com.google.common.collect.ForwardingObject implements HttpClient
| Modifier | Constructor and Description |
|---|---|
protected |
ForwardingHttpClient()
Constructor for use by subclasses.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract HttpClient |
delegate() |
void |
flushCacheByUriPattern(Pattern uriPattern)
Flush the cache entries by matching the URI using a regular expression
|
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitexecute, transformationprotected ForwardingHttpClient()
protected abstract HttpClient delegate()
delegate in class com.google.common.collect.ForwardingObjectpublic 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(String 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, 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 void flushCacheByUriPattern(Pattern uriPattern)
HttpClientflushCacheByUriPattern in interface HttpClienturiPattern - The regular expression to matchCopyright © 2012–2018 Atlassian. All rights reserved.