public abstract class RedirectingHttpClient extends Object implements HttpClient
| Modifier | Constructor and Description |
|---|---|
protected |
RedirectingHttpClient()
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, toString, wait, wait, waitexecute, transformationprotected RedirectingHttpClient()
protected abstract HttpClient delegate()
public 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–2024 Atlassian. All rights reserved.