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(java.util.regex.Pattern uriPattern)
Flush the cache entries by matching the URI using a regular expression
|
Request.Builder |
newRequest()
Constructs a new request.
|
Request.Builder |
newRequest(java.lang.String uri)
Constructs a new Request with the specified URI.
|
Request.Builder |
newRequest(java.lang.String uri,
java.lang.String contentType,
java.lang.String entity)
Constructs a new Request with the specified URI, contentType, and entity.
|
Request.Builder |
newRequest(java.net.URI uri)
Constructs a new Request with the specified URI.
|
Request.Builder |
newRequest(java.net.URI uri,
java.lang.String contentType,
java.lang.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(java.net.URI uri)
HttpClientnewRequest in interface HttpClienturi - The endpoint URI for this requestpublic Request.Builder newRequest(java.lang.String uri)
HttpClientnewRequest in interface HttpClienturi - The endpoint URI for this requestpublic Request.Builder newRequest(java.net.URI uri, java.lang.String contentType, java.lang.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(java.lang.String uri, java.lang.String contentType, java.lang.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(java.util.regex.Pattern uriPattern)
HttpClientflushCacheByUriPattern in interface HttpClienturiPattern - The regular expression to matchCopyright © 2012-2013 Atlassian. All Rights Reserved.