Uses of Class
com.luna.common.net.async.CustomAsyncHttpResponse
-
Uses of CustomAsyncHttpResponse in com.luna.common.net.async
Modifier and TypeMethodDescriptionprotected CustomAsyncHttpResponse
CustomResponseConsumer.buildResult
(org.apache.hc.core5.http.HttpResponse response, byte[] entity, org.apache.hc.core5.http.ContentType contentType) static CustomAsyncHttpResponse
CustomAsyncHttpResponse.copy
(org.apache.hc.core5.http.HttpResponse original) static CustomAsyncHttpResponse
CustomAsyncHttpResponse.create
(int code) static CustomAsyncHttpResponse
CustomAsyncHttpResponse.create
(int code, byte[] content) static CustomAsyncHttpResponse
CustomAsyncHttpResponse.create
(int code, byte[] content, org.apache.hc.core5.http.ContentType contentType) static CustomAsyncHttpResponse
static CustomAsyncHttpResponse
CustomAsyncHttpResponse.create
(int code, String content, org.apache.hc.core5.http.ContentType contentType) -
Uses of CustomAsyncHttpResponse in com.luna.common.net.high
Modifier and TypeMethodDescriptionstatic <T> CustomAsyncHttpResponse
AsyncHttpUtils.doAsyncRequest
(org.apache.hc.core5.http.nio.AsyncRequestProducer producer, AsyncHttpClientResponseHandler<T> responseHandler) static CustomAsyncHttpResponse
AsyncHttpUtils.doAsyncRequest
(org.apache.hc.core5.http.nio.AsyncRequestProducer producer, org.apache.hc.core5.concurrent.FutureCallback<CustomAsyncHttpResponse> callback) static <T> CustomAsyncHttpResponse
AsyncHttpUtils.doGet
(String host, String path, Map<String, String> headers, Map<String, String> queries, AsyncHttpClientResponseHandler<T> responseHandler) static <T> CustomAsyncHttpResponse
AsyncHttpUtils.doPost
(String host, String path, Map<String, String> headers, Map<String, String> queries, AsyncHttpClientResponseHandler<T> responseHandler) static <T> CustomAsyncHttpResponse
AsyncHttpUtils.doPost
(String host, String path, Map<String, String> headers, Map<String, String> queries, File file, AsyncHttpClientResponseHandler<T> responseHandler) static <T> CustomAsyncHttpResponse
AsyncHttpUtils.doPost
(String host, String path, Map<String, String> headers, Map<String, String> queries, String body, AsyncHttpClientResponseHandler<T> responseHandler) static <T> CustomAsyncHttpResponse
AsyncHttpUtils.doPost
(String host, String path, Map<String, String> headers, Map<String, String> queries, Path file, AsyncHttpClientResponseHandler<T> responseHandler) Modifier and TypeMethodDescriptionstatic Future<CustomAsyncHttpResponse>
AsyncHttpUtils.doAsyncRequestFuture
(org.apache.hc.core5.http.nio.AsyncRequestProducer producer, org.apache.hc.core5.concurrent.FutureCallback<CustomAsyncHttpResponse> callback) Modifier and TypeMethodDescriptionstatic CustomAsyncHttpResponse
AsyncHttpUtils.doAsyncRequest
(org.apache.hc.core5.http.nio.AsyncRequestProducer producer, org.apache.hc.core5.concurrent.FutureCallback<CustomAsyncHttpResponse> callback) static Future<CustomAsyncHttpResponse>
AsyncHttpUtils.doAsyncRequestFuture
(org.apache.hc.core5.http.nio.AsyncRequestProducer producer, org.apache.hc.core5.concurrent.FutureCallback<CustomAsyncHttpResponse> callback)