@Experimental public class HttpClientResources extends Object
HttpClient instance with lazy initialization.
Use get() to obtain the shared client instance. The client is intended to be a long-lived singleton that is never
closed during application lifetime.
HttpClient,
HttpClientProvider| Modifier and Type | Method and Description |
|---|---|
static HttpClient |
get()
Returns the shared
HttpClient instance. |
public static HttpClient get()
HttpClient instance. The client is lazily initialized on first call The client uses shared
Netty infrastructure. Connections created through this client can have different SSL configurations and timeouts.HttpClient instance.Copyright © 2026 lettuce.io. All rights reserved.