| 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 | 
|---|---|
| SimpleHttpResponse | SimpleResponseBuilder. build() | 
| protected SimpleHttpResponse | SimpleResponseConsumer. buildResult(HttpResponse response,
           byte[] entity,
           ContentType contentType) | 
| static SimpleHttpResponse | SimpleHttpResponse. copy(HttpResponse original) | 
| static SimpleHttpResponse | SimpleHttpResponse. create(int code) | 
| static SimpleHttpResponse | SimpleHttpResponse. create(int code,
      byte[] content) | 
| static SimpleHttpResponse | SimpleHttpResponse. create(int code,
      byte[] content,
      ContentType contentType) | 
| static SimpleHttpResponse | SimpleHttpResponse. create(int code,
      String content) | 
| static SimpleHttpResponse | SimpleHttpResponse. create(int code,
      String content,
      ContentType contentType) | 
| Modifier and Type | Method and Description | 
|---|---|
| static SimpleResponseBuilder | SimpleResponseBuilder. copy(SimpleHttpResponse response) | 
| protected void | SimpleResponseBuilder. digest(SimpleHttpResponse response) | 
| Modifier and Type | Method and Description | 
|---|---|
| Future<SimpleHttpResponse> | CloseableHttpAsyncClient. execute(SimpleHttpRequest request,
       FutureCallback<SimpleHttpResponse> callback) | 
| Future<SimpleHttpResponse> | CloseableHttpAsyncClient. execute(SimpleHttpRequest request,
       HttpContext context,
       FutureCallback<SimpleHttpResponse> callback) | 
| Modifier and Type | Method and Description | 
|---|---|
| Future<SimpleHttpResponse> | CloseableHttpAsyncClient. execute(SimpleHttpRequest request,
       FutureCallback<SimpleHttpResponse> callback) | 
| Future<SimpleHttpResponse> | CloseableHttpAsyncClient. execute(SimpleHttpRequest request,
       HttpContext context,
       FutureCallback<SimpleHttpResponse> callback) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected AbstractMessageWriter<SimpleHttpResponse> | HttpByteArrayCacheEntrySerializer. makeHttpResponseWriter(SessionOutputBuffer outputBuffer)Helper method to make a new HTTP response writer. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected abstract SimpleHttpResponse | AbstractSimpleServerExchangeHandler. handle(SimpleHttpRequest request,
      HttpCoreContext context) | 
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.