public class HttpAsyncClient extends AbstractHttpClient
client, deserializeWithContentType, EMPTY, headers, headersMap, logger, mediaType, serialization, serializer| 构造器和说明 |
|---|
HttpAsyncClient()
Instantiates a new http async client.
|
HttpAsyncClient(HttpRequestConfig config)
Instantiates a new http async client.
|
HttpAsyncClient(HttpRequestConfig config,
java.util.Map<java.lang.String,java.lang.String> headers)
Instantiates a new http async client.
|
HttpAsyncClient(HttpRequestConfig config,
java.util.Map<java.lang.String,java.lang.String> headers,
cn.featherfly.common.serialization.Serialization serialization,
okhttp3.MediaType mediaType)
Instantiates a new http async client.
|
HttpAsyncClient(HttpRequestConfig config,
cn.featherfly.common.serialization.Serialization serialization,
okhttp3.MediaType mediaType)
Instantiates a new http async client.
|
HttpAsyncClient(java.util.Map<java.lang.String,java.lang.String> headers)
Instantiates a new http async client.
|
HttpAsyncClient(okhttp3.OkHttpClient client,
java.util.Map<java.lang.String,java.lang.String> headers)
Instantiates a new http async client.
|
HttpAsyncClient(okhttp3.OkHttpClient client,
java.util.Map<java.lang.String,java.lang.String> headers,
cn.featherfly.common.serialization.Serialization serialization,
okhttp3.MediaType mediaType)
Instantiates a new http async client.
|
HttpAsyncClient(okhttp3.OkHttpClient client,
cn.featherfly.common.serialization.Serialization serialization,
okhttp3.MediaType mediaType)
Instantiates a new http async client.
|
| 限定符和类型 | 方法和说明 |
|---|---|
HttpRequestCompletion<java.lang.String> |
delete(java.lang.String url)
Delete.
|
<R> HttpRequestCompletion<R> |
delete(java.lang.String url,
java.lang.Class<R> responseType)
Delete request and deserialize response.
|
HttpRequestCompletion<java.lang.String> |
delete(java.lang.String url,
java.util.Map<java.lang.String,java.lang.String> headers)
Delete.
|
<R> HttpRequestCompletion<R> |
delete(java.lang.String url,
java.util.Map<java.lang.String,java.lang.String> headers,
java.lang.Class<R> responseType)
Delete request and deserialize response.
|
HttpRequestCompletion<java.lang.String> |
delete(java.lang.String url,
java.lang.Object requestBody)
Delete requestBody with medieType format.
|
<R> HttpRequestCompletion<R> |
delete(java.lang.String url,
java.lang.Object requestBody,
java.lang.Class<R> responseType)
Delete requestBody with medieType format and deserialize response.
|
HttpRequestCompletion<java.lang.String> |
delete(java.lang.String url,
java.lang.Object requestBody,
java.util.Map<java.lang.String,java.lang.String> headers)
Delete requestBody with medieType format.
|
<R> HttpRequestCompletion<R> |
delete(java.lang.String url,
java.lang.Object requestBody,
java.util.Map<java.lang.String,java.lang.String> headers,
java.lang.Class<R> responseType)
Delete requestBody with medieType format and deserialize response.
|
HttpRequestCompletion<java.lang.Integer> |
download(java.lang.String url,
java.io.File localFile)
Download.
|
HttpRequestCompletion<java.lang.Integer> |
download(java.lang.String url,
java.util.Map<java.lang.String,java.io.Serializable> params,
java.io.File localFile)
Download.
|
HttpRequestCompletion<java.lang.Integer> |
download(java.lang.String url,
java.util.Map<java.lang.String,java.io.Serializable> params,
java.util.Map<java.lang.String,java.lang.String> headers,
java.io.File localFile)
Download.
|
HttpRequestCompletion<java.lang.Integer> |
download(java.lang.String url,
java.util.Map<java.lang.String,java.io.Serializable> params,
java.util.Map<java.lang.String,java.lang.String> headers,
java.io.OutputStream output)
Download.
|
HttpRequestCompletion<java.lang.Integer> |
download(java.lang.String url,
java.util.Map<java.lang.String,java.io.Serializable> params,
java.io.OutputStream output)
Download.
|
HttpRequestCompletion<java.lang.Integer> |
download(java.lang.String url,
java.io.OutputStream output)
Download.
|
HttpRequestCompletion<java.lang.String> |
get(java.lang.String url)
get request.
|
<R> HttpRequestCompletion<R> |
get(java.lang.String url,
java.lang.Class<R> responseType)
get request.
|
HttpRequestCompletion<java.lang.String> |
get(java.lang.String url,
java.util.Map<java.lang.String,java.io.Serializable> params)
get request.
|
<R> HttpRequestCompletion<R> |
get(java.lang.String url,
java.util.Map<java.lang.String,java.io.Serializable> params,
java.lang.Class<R> responseType)
get request.
|
HttpRequestCompletion<java.lang.String> |
get(java.lang.String url,
java.util.Map<java.lang.String,java.io.Serializable> params,
java.util.Map<java.lang.String,java.lang.String> headers)
get request.
|
<R> HttpRequestCompletion<R> |
get(java.lang.String url,
java.util.Map<java.lang.String,java.io.Serializable> params,
java.util.Map<java.lang.String,java.lang.String> headers,
java.lang.Class<R> responseType)
get request.
|
HttpRequestCompletion<java.lang.String> |
head(java.lang.String url)
head request.
|
<R> HttpRequestCompletion<R> |
head(java.lang.String url,
java.lang.Class<R> responseType)
head request.
|
HttpRequestCompletion<java.lang.String> |
head(java.lang.String url,
java.util.Map<java.lang.String,java.io.Serializable> params)
head request.
|
<R> HttpRequestCompletion<R> |
head(java.lang.String url,
java.util.Map<java.lang.String,java.io.Serializable> params,
java.lang.Class<R> responseType)
head request.
|
HttpRequestCompletion<java.lang.String> |
head(java.lang.String url,
java.util.Map<java.lang.String,java.io.Serializable> params,
java.util.Map<java.lang.String,java.lang.String> headers)
head request.
|
<R> HttpRequestCompletion<R> |
head(java.lang.String url,
java.util.Map<java.lang.String,java.io.Serializable> params,
java.util.Map<java.lang.String,java.lang.String> headers,
java.lang.Class<R> responseType)
head request.
|
HttpRequestCompletion<java.lang.String> |
patch(java.lang.String url)
patch request.
|
HttpRequestCompletion<java.lang.String> |
patch(java.lang.String url,
java.util.Map<java.lang.String,java.io.Serializable> params)
patch request params with FormBody.
|
<R> HttpRequestCompletion<R> |
patch(java.lang.String url,
java.util.Map<java.lang.String,java.io.Serializable> params,
java.lang.Class<R> responseType)
patch request params with FormBody.
|
HttpRequestCompletion<java.lang.String> |
patch(java.lang.String url,
java.util.Map<java.lang.String,java.io.Serializable> params,
java.util.Map<java.lang.String,java.lang.String> headers)
patch request params with FormBody.
|
<R> HttpRequestCompletion<R> |
patch(java.lang.String url,
java.util.Map<java.lang.String,java.io.Serializable> params,
java.util.Map<java.lang.String,java.lang.String> headers,
java.lang.Class<R> responseType)
patch request params with FormBody.
|
HttpRequestCompletion<java.lang.String> |
patch(java.lang.String url,
java.lang.Object requestBody)
patch request requestBody with medieType format.
|
<R> HttpRequestCompletion<R> |
patch(java.lang.String url,
java.lang.Object requestBody,
java.lang.Class<R> responseType)
patch request requestBody with medieType format and deserialize response.
|
HttpRequestCompletion<java.lang.String> |
patch(java.lang.String url,
java.lang.Object requestBody,
java.util.Map<java.lang.String,java.lang.String> headers)
patch request requestBody with medieType format.
|
<R> HttpRequestCompletion<R> |
patch(java.lang.String url,
java.lang.Object requestBody,
java.util.Map<java.lang.String,java.lang.String> headers,
java.lang.Class<R> responseType)
patch request requestBody with medieType format and deserialize response.
|
HttpRequestCompletion<java.lang.String> |
post(java.lang.String url)
post request.
|
HttpRequestCompletion<java.lang.String> |
post(java.lang.String url,
java.util.Map<java.lang.String,java.io.Serializable> params)
Post params with FormBody.
|
<R> HttpRequestCompletion<R> |
post(java.lang.String url,
java.util.Map<java.lang.String,java.io.Serializable> params,
java.lang.Class<R> responseType)
Post params with FormBody.
|
HttpRequestCompletion<java.lang.String> |
post(java.lang.String url,
java.util.Map<java.lang.String,java.io.Serializable> params,
java.util.Map<java.lang.String,java.lang.String> headers)
Post params with FormBody.
|
<R> HttpRequestCompletion<R> |
post(java.lang.String url,
java.util.Map<java.lang.String,java.io.Serializable> params,
java.util.Map<java.lang.String,java.lang.String> headers,
java.lang.Class<R> responseType)
Post params with FormBody.
|
HttpRequestCompletion<java.lang.String> |
post(java.lang.String url,
java.lang.Object requestBody)
Post requestBody with medieType format.
|
<R> HttpRequestCompletion<R> |
post(java.lang.String url,
java.lang.Object requestBody,
java.lang.Class<R> responseType)
Post requestBody with medieType format and deserialize response.
|
HttpRequestCompletion<java.lang.String> |
post(java.lang.String url,
java.lang.Object requestBody,
java.util.Map<java.lang.String,java.lang.String> headers)
Post requestBody with medieType format.
|
<R> HttpRequestCompletion<R> |
post(java.lang.String url,
java.lang.Object requestBody,
java.util.Map<java.lang.String,java.lang.String> headers,
java.lang.Class<R> responseType)
Post requestBody with medieType format and deserialize response.
|
HttpRequestCompletion<java.lang.String> |
put(java.lang.String url)
Put.
|
HttpRequestCompletion<java.lang.String> |
put(java.lang.String url,
java.util.Map<java.lang.String,java.io.Serializable> params)
Put params with FormBody.
|
<R> HttpRequestCompletion<R> |
put(java.lang.String url,
java.util.Map<java.lang.String,java.io.Serializable> params,
java.lang.Class<R> responseType)
Put params with FormBody.
|
HttpRequestCompletion<java.lang.String> |
put(java.lang.String url,
java.util.Map<java.lang.String,java.io.Serializable> params,
java.util.Map<java.lang.String,java.lang.String> headers)
Put params with FormBody.
|
<R> HttpRequestCompletion<R> |
put(java.lang.String url,
java.util.Map<java.lang.String,java.io.Serializable> params,
java.util.Map<java.lang.String,java.lang.String> headers,
java.lang.Class<R> responseType)
Put params with FormBody.
|
HttpRequestCompletion<java.lang.String> |
put(java.lang.String url,
java.lang.Object requestBody)
Put requestBody with medieType format.
|
<R> HttpRequestCompletion<R> |
put(java.lang.String url,
java.lang.Object requestBody,
java.lang.Class<R> responseType)
Put requestBody with medieType format and deserialize response.
|
HttpRequestCompletion<java.lang.String> |
put(java.lang.String url,
java.lang.Object requestBody,
java.util.Map<java.lang.String,java.lang.String> headers)
Put requestBody with medieType format.
|
<R> HttpRequestCompletion<R> |
put(java.lang.String url,
java.lang.Object requestBody,
java.util.Map<java.lang.String,java.lang.String> headers,
java.lang.Class<R> responseType)
Put requestBody with medieType format and deserialize response.
|
HttpRequestCompletion<java.lang.String> |
request(HttpMethod httpMethod,
java.lang.String url)
Request.
|
<R> HttpRequestCompletion<R> |
request(HttpMethod httpMethod,
java.lang.String url,
java.lang.Class<R> responseType)
request with params and deserialize response .
|
HttpRequestCompletion<java.lang.String> |
request(HttpMethod httpMethod,
java.lang.String url,
java.util.Map<java.lang.String,java.io.Serializable> params)
Request.
|
<R> HttpRequestCompletion<R> |
request(HttpMethod httpMethod,
java.lang.String url,
java.util.Map<java.lang.String,java.io.Serializable> params,
java.lang.Class<R> responseType)
request with params and deserialize response .
|
HttpRequestCompletion<java.lang.String> |
request(HttpMethod httpMethod,
java.lang.String url,
java.util.Map<java.lang.String,java.io.Serializable> params,
java.util.Map<java.lang.String,java.lang.String> headers)
Request.
|
<R> HttpRequestCompletion<R> |
request(HttpMethod httpMethod,
java.lang.String url,
java.util.Map<java.lang.String,java.io.Serializable> params,
java.util.Map<java.lang.String,java.lang.String> headers,
java.lang.Class<R> responseType)
request with params and deserialize response .
|
HttpRequestCompletion<java.lang.String> |
request(HttpMethod httpMethod,
java.lang.String url,
java.lang.Object requestBody)
request body with medieType format.
|
<R> HttpRequestCompletion<R> |
request(HttpMethod httpMethod,
java.lang.String url,
java.lang.Object requestBody,
java.lang.Class<R> responseType)
Post requestBody with medieType format and deserialize response.
|
HttpRequestCompletion<java.lang.String> |
request(HttpMethod httpMethod,
java.lang.String url,
java.lang.Object requestBody,
java.util.Map<java.lang.String,java.lang.String> headers)
Post requestBody with medieType format.
|
<R> HttpRequestCompletion<R> |
request(HttpMethod httpMethod,
java.lang.String url,
java.lang.Object requestBody,
java.util.Map<java.lang.String,java.lang.String> headers,
java.lang.Class<R> responseType)
Post requestBody with medieType format and deserialize response.
|
createHeaders, deserialize, getCodeSameAsSuccess, getSerializer, init, init, isCodeSameAsSuccess, isDeserializeWithContentType, setCodeSameAsSuccess, setDeserializeWithContentType, shutdownpublic HttpAsyncClient()
public HttpAsyncClient(HttpRequestConfig config, java.util.Map<java.lang.String,java.lang.String> headers, cn.featherfly.common.serialization.Serialization serialization, okhttp3.MediaType mediaType)
config - the configheaders - the headersserialization - the serializationmediaType - the media typepublic HttpAsyncClient(HttpRequestConfig config, java.util.Map<java.lang.String,java.lang.String> headers)
config - the configheaders - the headerspublic HttpAsyncClient(HttpRequestConfig config, cn.featherfly.common.serialization.Serialization serialization, okhttp3.MediaType mediaType)
config - the configserialization - the serializationmediaType - the media typepublic HttpAsyncClient(HttpRequestConfig config)
config - the configpublic HttpAsyncClient(java.util.Map<java.lang.String,java.lang.String> headers)
headers - the headerspublic HttpAsyncClient(okhttp3.OkHttpClient client,
java.util.Map<java.lang.String,java.lang.String> headers,
cn.featherfly.common.serialization.Serialization serialization,
okhttp3.MediaType mediaType)
client - the clientheaders - the headersserialization - the serializationmediaType - the media typepublic HttpAsyncClient(okhttp3.OkHttpClient client,
java.util.Map<java.lang.String,java.lang.String> headers)
client - the clientheaders - the headerspublic HttpAsyncClient(okhttp3.OkHttpClient client,
cn.featherfly.common.serialization.Serialization serialization,
okhttp3.MediaType mediaType)
client - the clientserialization - the serializationmediaType - the media typepublic HttpRequestCompletion<java.lang.String> request(HttpMethod httpMethod, java.lang.String url)
httpMethod - the http methodurl - the urlpublic HttpRequestCompletion<java.lang.String> request(HttpMethod httpMethod, java.lang.String url, java.util.Map<java.lang.String,java.io.Serializable> params)
httpMethod - the http methodurl - the urlparams - the paramspublic HttpRequestCompletion<java.lang.String> request(HttpMethod httpMethod, java.lang.String url, java.util.Map<java.lang.String,java.io.Serializable> params, java.util.Map<java.lang.String,java.lang.String> headers)
httpMethod - the http methodurl - the urlparams - the paramsheaders - the headerspublic <R> HttpRequestCompletion<R> request(HttpMethod httpMethod, java.lang.String url, java.lang.Class<R> responseType)
R - the generic typehttpMethod - the http methodurl - the urlresponseType - the response typepublic <R> HttpRequestCompletion<R> request(HttpMethod httpMethod, java.lang.String url, java.util.Map<java.lang.String,java.io.Serializable> params, java.lang.Class<R> responseType)
R - the generic typehttpMethod - the http methodurl - the urlparams - the paramsresponseType - the response typepublic <R> HttpRequestCompletion<R> request(HttpMethod httpMethod, java.lang.String url, java.util.Map<java.lang.String,java.io.Serializable> params, java.util.Map<java.lang.String,java.lang.String> headers, java.lang.Class<R> responseType)
R - the generic typehttpMethod - the http methodurl - the urlparams - the paramsheaders - the headersresponseType - the response typepublic HttpRequestCompletion<java.lang.String> request(HttpMethod httpMethod, java.lang.String url, java.lang.Object requestBody)
httpMethod - the http methodurl - the urlrequestBody - the request bodypublic HttpRequestCompletion<java.lang.String> request(HttpMethod httpMethod, java.lang.String url, java.lang.Object requestBody, java.util.Map<java.lang.String,java.lang.String> headers)
httpMethod - the http methodurl - the urlrequestBody - the request bodyheaders - the headerspublic <R> HttpRequestCompletion<R> request(HttpMethod httpMethod, java.lang.String url, java.lang.Object requestBody, java.lang.Class<R> responseType)
R - the generic typehttpMethod - the http methodurl - the urlrequestBody - the request bodyresponseType - the response typepublic <R> HttpRequestCompletion<R> request(HttpMethod httpMethod, java.lang.String url, java.lang.Object requestBody, java.util.Map<java.lang.String,java.lang.String> headers, java.lang.Class<R> responseType)
R - the generic typehttpMethod - the http methodurl - the urlrequestBody - the request bodyheaders - the headersresponseType - the response typepublic HttpRequestCompletion<java.lang.String> get(java.lang.String url)
url - the urlpublic HttpRequestCompletion<java.lang.String> get(java.lang.String url, java.util.Map<java.lang.String,java.io.Serializable> params)
url - the urlparams - the paramspublic HttpRequestCompletion<java.lang.String> get(java.lang.String url, java.util.Map<java.lang.String,java.io.Serializable> params, java.util.Map<java.lang.String,java.lang.String> headers)
url - the urlparams - the paramsheaders - the headerspublic <R> HttpRequestCompletion<R> get(java.lang.String url, java.lang.Class<R> responseType)
R - the generic typeurl - the urlresponseType - the response typepublic <R> HttpRequestCompletion<R> get(java.lang.String url, java.util.Map<java.lang.String,java.io.Serializable> params, java.lang.Class<R> responseType)
R - the generic typeurl - the urlparams - the paramsresponseType - the response typepublic <R> HttpRequestCompletion<R> get(java.lang.String url, java.util.Map<java.lang.String,java.io.Serializable> params, java.util.Map<java.lang.String,java.lang.String> headers, java.lang.Class<R> responseType)
R - the generic typeurl - the urlparams - the paramsheaders - the headersresponseType - the response typepublic HttpRequestCompletion<java.lang.String> head(java.lang.String url)
url - the urlpublic HttpRequestCompletion<java.lang.String> head(java.lang.String url, java.util.Map<java.lang.String,java.io.Serializable> params)
url - the urlparams - the paramspublic HttpRequestCompletion<java.lang.String> head(java.lang.String url, java.util.Map<java.lang.String,java.io.Serializable> params, java.util.Map<java.lang.String,java.lang.String> headers)
url - the urlparams - the paramsheaders - the headerspublic <R> HttpRequestCompletion<R> head(java.lang.String url, java.lang.Class<R> responseType)
R - the generic typeurl - the urlresponseType - the response typepublic <R> HttpRequestCompletion<R> head(java.lang.String url, java.util.Map<java.lang.String,java.io.Serializable> params, java.lang.Class<R> responseType)
R - the generic typeurl - the urlparams - the paramsresponseType - the response typepublic <R> HttpRequestCompletion<R> head(java.lang.String url, java.util.Map<java.lang.String,java.io.Serializable> params, java.util.Map<java.lang.String,java.lang.String> headers, java.lang.Class<R> responseType)
R - the generic typeurl - the urlparams - the paramsheaders - the headersresponseType - the response typepublic HttpRequestCompletion<java.lang.String> post(java.lang.String url)
url - the urlpublic HttpRequestCompletion<java.lang.String> post(java.lang.String url, java.util.Map<java.lang.String,java.io.Serializable> params)
url - the urlparams - the paramspublic HttpRequestCompletion<java.lang.String> post(java.lang.String url, java.util.Map<java.lang.String,java.io.Serializable> params, java.util.Map<java.lang.String,java.lang.String> headers)
url - the urlparams - the paramsheaders - the headerspublic <R> HttpRequestCompletion<R> post(java.lang.String url, java.util.Map<java.lang.String,java.io.Serializable> params, java.lang.Class<R> responseType)
R - the generic typeurl - the urlparams - the paramsresponseType - the response typepublic <R> HttpRequestCompletion<R> post(java.lang.String url, java.util.Map<java.lang.String,java.io.Serializable> params, java.util.Map<java.lang.String,java.lang.String> headers, java.lang.Class<R> responseType)
R - the generic typeurl - the urlparams - the paramsheaders - the headersresponseType - the response typepublic HttpRequestCompletion<java.lang.String> post(java.lang.String url, java.lang.Object requestBody)
url - the urlrequestBody - the request bodypublic HttpRequestCompletion<java.lang.String> post(java.lang.String url, java.lang.Object requestBody, java.util.Map<java.lang.String,java.lang.String> headers)
url - the urlrequestBody - the request bodyheaders - the headerspublic <R> HttpRequestCompletion<R> post(java.lang.String url, java.lang.Object requestBody, java.lang.Class<R> responseType)
R - the generic typeurl - the urlrequestBody - the request bodyresponseType - the response typepublic <R> HttpRequestCompletion<R> post(java.lang.String url, java.lang.Object requestBody, java.util.Map<java.lang.String,java.lang.String> headers, java.lang.Class<R> responseType)
R - the generic typeurl - the urlrequestBody - the request bodyheaders - the headersresponseType - the response typepublic HttpRequestCompletion<java.lang.String> put(java.lang.String url)
url - the urlpublic HttpRequestCompletion<java.lang.String> put(java.lang.String url, java.util.Map<java.lang.String,java.io.Serializable> params)
url - the urlparams - the paramspublic HttpRequestCompletion<java.lang.String> put(java.lang.String url, java.util.Map<java.lang.String,java.io.Serializable> params, java.util.Map<java.lang.String,java.lang.String> headers)
url - the urlparams - the paramsheaders - the headerspublic <R> HttpRequestCompletion<R> put(java.lang.String url, java.util.Map<java.lang.String,java.io.Serializable> params, java.lang.Class<R> responseType)
R - the generic typeurl - the urlparams - the paramsresponseType - the response typepublic <R> HttpRequestCompletion<R> put(java.lang.String url, java.util.Map<java.lang.String,java.io.Serializable> params, java.util.Map<java.lang.String,java.lang.String> headers, java.lang.Class<R> responseType)
R - the generic typeurl - the urlparams - the paramsheaders - the headersresponseType - the response typepublic HttpRequestCompletion<java.lang.String> put(java.lang.String url, java.lang.Object requestBody)
url - the urlrequestBody - the request bodypublic HttpRequestCompletion<java.lang.String> put(java.lang.String url, java.lang.Object requestBody, java.util.Map<java.lang.String,java.lang.String> headers)
url - the urlrequestBody - the request bodyheaders - the headerspublic <R> HttpRequestCompletion<R> put(java.lang.String url, java.lang.Object requestBody, java.lang.Class<R> responseType)
R - the generic typeurl - the urlrequestBody - the request bodyresponseType - the response typepublic <R> HttpRequestCompletion<R> put(java.lang.String url, java.lang.Object requestBody, java.util.Map<java.lang.String,java.lang.String> headers, java.lang.Class<R> responseType)
R - the generic typeurl - the urlrequestBody - the request bodyheaders - the headersresponseType - the response typepublic HttpRequestCompletion<java.lang.String> patch(java.lang.String url)
url - the urlpublic HttpRequestCompletion<java.lang.String> patch(java.lang.String url, java.util.Map<java.lang.String,java.io.Serializable> params)
url - the urlparams - the paramspublic HttpRequestCompletion<java.lang.String> patch(java.lang.String url, java.util.Map<java.lang.String,java.io.Serializable> params, java.util.Map<java.lang.String,java.lang.String> headers)
url - the urlparams - the paramsheaders - the headerspublic <R> HttpRequestCompletion<R> patch(java.lang.String url, java.util.Map<java.lang.String,java.io.Serializable> params, java.lang.Class<R> responseType)
R - the generic typeurl - the urlparams - the paramsresponseType - the response typepublic <R> HttpRequestCompletion<R> patch(java.lang.String url, java.util.Map<java.lang.String,java.io.Serializable> params, java.util.Map<java.lang.String,java.lang.String> headers, java.lang.Class<R> responseType)
R - the generic typeurl - the urlparams - the paramsheaders - the headersresponseType - the response typepublic HttpRequestCompletion<java.lang.String> patch(java.lang.String url, java.lang.Object requestBody)
url - the urlrequestBody - the request bodypublic HttpRequestCompletion<java.lang.String> patch(java.lang.String url, java.lang.Object requestBody, java.util.Map<java.lang.String,java.lang.String> headers)
url - the urlrequestBody - the request bodyheaders - the headerspublic <R> HttpRequestCompletion<R> patch(java.lang.String url, java.lang.Object requestBody, java.lang.Class<R> responseType)
R - the generic typeurl - the urlrequestBody - the request bodyresponseType - the response typepublic <R> HttpRequestCompletion<R> patch(java.lang.String url, java.lang.Object requestBody, java.util.Map<java.lang.String,java.lang.String> headers, java.lang.Class<R> responseType)
R - the generic typeurl - the urlrequestBody - the request bodyheaders - the headersresponseType - the response typepublic HttpRequestCompletion<java.lang.String> delete(java.lang.String url)
url - the urlpublic HttpRequestCompletion<java.lang.String> delete(java.lang.String url, java.util.Map<java.lang.String,java.lang.String> headers)
url - the urlheaders - the headerspublic <R> HttpRequestCompletion<R> delete(java.lang.String url, java.lang.Class<R> responseType)
R - the generic typeurl - the urlresponseType - the response typepublic <R> HttpRequestCompletion<R> delete(java.lang.String url, java.util.Map<java.lang.String,java.lang.String> headers, java.lang.Class<R> responseType)
R - the generic typeurl - the urlheaders - the headersresponseType - the response typepublic HttpRequestCompletion<java.lang.String> delete(java.lang.String url, java.lang.Object requestBody)
url - the urlrequestBody - the request bodypublic HttpRequestCompletion<java.lang.String> delete(java.lang.String url, java.lang.Object requestBody, java.util.Map<java.lang.String,java.lang.String> headers)
url - the urlrequestBody - the request bodyheaders - the headerspublic <R> HttpRequestCompletion<R> delete(java.lang.String url, java.lang.Object requestBody, java.lang.Class<R> responseType)
R - the generic typeurl - the urlrequestBody - the request bodyresponseType - the response typepublic <R> HttpRequestCompletion<R> delete(java.lang.String url, java.lang.Object requestBody, java.util.Map<java.lang.String,java.lang.String> headers, java.lang.Class<R> responseType)
R - the generic typeurl - the urlrequestBody - the request bodyheaders - the headersresponseType - the response typepublic HttpRequestCompletion<java.lang.Integer> download(java.lang.String url, java.io.OutputStream output)
url - the urloutput - the outputpublic HttpRequestCompletion<java.lang.Integer> download(java.lang.String url, java.io.File localFile)
url - the urllocalFile - the local filepublic HttpRequestCompletion<java.lang.Integer> download(java.lang.String url, java.util.Map<java.lang.String,java.io.Serializable> params, java.io.OutputStream output)
url - the urlparams - the paramsoutput - the outputpublic HttpRequestCompletion<java.lang.Integer> download(java.lang.String url, java.util.Map<java.lang.String,java.io.Serializable> params, java.io.File localFile)
url - the urlparams - the paramslocalFile - the local filepublic HttpRequestCompletion<java.lang.Integer> download(java.lang.String url, java.util.Map<java.lang.String,java.io.Serializable> params, java.util.Map<java.lang.String,java.lang.String> headers, java.io.File localFile)
url - the urlparams - the paramsheaders - the headerslocalFile - the local filepublic HttpRequestCompletion<java.lang.Integer> download(java.lang.String url, java.util.Map<java.lang.String,java.io.Serializable> params, java.util.Map<java.lang.String,java.lang.String> headers, java.io.OutputStream output)
url - the urlparams - the paramsheaders - the headersoutput - the output