public class ApacheAsyncHttpClient extends Object implements HttpClient
| 构造器和说明 |
|---|
ApacheAsyncHttpClient() |
ApacheAsyncHttpClient(org.apache.hc.client5.http.async.HttpAsyncClient httpClient) |
public ApacheAsyncHttpClient()
public ApacheAsyncHttpClient(@Nonnull
org.apache.hc.client5.http.async.HttpAsyncClient httpClient)
@Nonnull public CompletionStage<? extends Response> execute(@Nonnull Request request, RequestConfig config)
execute 在接口中 HttpClientpublic void close()
throws IOException
close 在接口中 Closeableclose 在接口中 AutoCloseableIOExceptionCopyright © 2024. All rights reserved.