@Experimental public class NettyHttpClientProvider extends Object implements HttpClientProvider
HttpClientProvider that creates Netty-based HTTP clients.| Constructor and Description |
|---|
NettyHttpClientProvider() |
| Modifier and Type | Method and Description |
|---|---|
HttpClient |
createHttpClient()
Creates a new
HttpClient instance. |
int |
getPriority()
Returns the priority of this provider.
|
boolean |
isAvailable()
Returns
true if this provider is available and can create HTTP clients. |
public HttpClient createHttpClient()
HttpClientProviderHttpClient instance. The client uses shared infrastructure and supports per-connection
configuration.createHttpClient in interface HttpClientProviderHttpClient instance.public boolean isAvailable()
HttpClientProvidertrue if this provider is available and can create HTTP clients. This method should check if all required
dependencies are present on the classpath.isAvailable in interface HttpClientProvidertrue if this provider is available.public int getPriority()
HttpClientProvidergetPriority in interface HttpClientProviderCopyright © 2026 lettuce.io. All rights reserved.