Interface HttpClient5OpenSearchConfiguration
- All Superinterfaces:
io.micronaut.core.util.Toggleable
- All Known Implementing Classes:
HttpClient5OpenSearchConfigurationProperties
public interface HttpClient5OpenSearchConfiguration
extends io.micronaut.core.util.Toggleable
Micronaut OpenSearch Configuration for the usage of Apache HttpClient 5 Transport.
- Since:
- 1.0.0
- Author:
- Sergio del Amo
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hc.core5.http.HttpHost[]
The one or more hosts that the client will communicate with, provided as instances ofHttpHost
.Methods inherited from interface io.micronaut.core.util.Toggleable
isEnabled
-
Method Details
-
getHttpHosts
org.apache.hc.core5.http.HttpHost[] getHttpHosts()The one or more hosts that the client will communicate with, provided as instances ofHttpHost
.- Returns:
- An array of
HttpHost
-