public class AsyncHttpClientProvider extends Object implements HttpClientProvider
HttpClient instance built around Apache HTTP Async Client component.| Modifier and Type | Field and Description |
|---|---|
static Option<Integer> |
OPTION_WORKER_THREADS
Specify the number of worker threads.
|
| Constructor and Description |
|---|
AsyncHttpClientProvider() |
| Modifier and Type | Method and Description |
|---|---|
HttpClient |
newHttpClient(Options options)
Returns a new
HttpClient configured using the provided set of
options. |
public HttpClient newHttpClient(Options options) throws HttpApplicationException
HttpClientProviderHttpClient configured using the provided set of
options.newHttpClient in interface HttpClientProvideroptions - The client options (never null).HttpClient configured using the provided set of
options.HttpApplicationException - If the client implementation could not be configured using
the provided set of options.Copyright © 2025 Open Identity Platform Community. All rights reserved.