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.
|
Modifier and Type | Method and Description |
---|---|
SimpleHttpResponse |
SimpleResponseBuilder.build() |
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 |
---|---|
static SimpleResponseBuilder |
SimpleResponseBuilder.copy(SimpleHttpResponse response)
Copies a source instance into a new one.
|
protected void |
SimpleResponseBuilder.digest(SimpleHttpResponse response) |
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) |
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.