| Package | Description | 
|---|---|
| org.apache.hc.client5.http.async.methods | Common HTTP methods and message handlers for the asynchronous I/O model. | 
| org.apache.hc.client5.http.impl.async | Asynchronous HTTP client API implementation that supports both
 HTTP/2 and HTTP/1.1 transport. | 
| org.apache.hc.client5.http.impl.cache | Caching API implementation for both the classic and
 the asynchronous HTTP transports. | 
| org.apache.hc.client5.testing.async | 
| Modifier and Type | Method and Description | 
|---|---|
| protected SimpleHttpResponse | SimpleResponseConsumer. buildResult(org.apache.hc.core5.http.HttpResponse response,
           byte[] entity,
           org.apache.hc.core5.http.ContentType contentType) | 
| static SimpleHttpResponse | SimpleHttpResponse. copy(org.apache.hc.core5.http.HttpResponse original) | 
| static SimpleHttpResponse | SimpleHttpResponse. create(int code) | 
| static SimpleHttpResponse | SimpleHttpResponse. create(int code,
      byte[] content) | 
| static SimpleHttpResponse | SimpleHttpResponse. create(int code,
      byte[] content,
      org.apache.hc.core5.http.ContentType contentType) | 
| static SimpleHttpResponse | SimpleHttpResponse. create(int code,
      String content) | 
| static SimpleHttpResponse | SimpleHttpResponse. create(int code,
      String content,
      org.apache.hc.core5.http.ContentType contentType) | 
| Modifier and Type | Method and Description | 
|---|---|
| Future<SimpleHttpResponse> | CloseableHttpAsyncClient. execute(SimpleHttpRequest request,
       org.apache.hc.core5.concurrent.FutureCallback<SimpleHttpResponse> callback) | 
| Future<SimpleHttpResponse> | CloseableHttpAsyncClient. execute(SimpleHttpRequest request,
       org.apache.hc.core5.http.protocol.HttpContext context,
       org.apache.hc.core5.concurrent.FutureCallback<SimpleHttpResponse> callback) | 
| Modifier and Type | Method and Description | 
|---|---|
| Future<SimpleHttpResponse> | CloseableHttpAsyncClient. execute(SimpleHttpRequest request,
       org.apache.hc.core5.concurrent.FutureCallback<SimpleHttpResponse> callback) | 
| Future<SimpleHttpResponse> | CloseableHttpAsyncClient. execute(SimpleHttpRequest request,
       org.apache.hc.core5.http.protocol.HttpContext context,
       org.apache.hc.core5.concurrent.FutureCallback<SimpleHttpResponse> callback) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected org.apache.hc.core5.http.impl.io.AbstractMessageWriter<SimpleHttpResponse> | HttpByteArrayCacheEntrySerializer. makeHttpResponseWriter(org.apache.hc.core5.http.io.SessionOutputBuffer outputBuffer)Helper method to make a new HTTP response writer. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected abstract SimpleHttpResponse | AbstractSimpleServerExchangeHandler. handle(SimpleHttpRequest request,
      org.apache.hc.core5.http.protocol.HttpCoreContext context) | 
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.