Interface HttpAsyncClientSupplier
-
- All Superinterfaces:
java.util.function.Supplier<org.apache.hc.client5.http.impl.async.CloseableHttpAsyncClient>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface HttpAsyncClientSupplier extends java.util.function.Supplier<org.apache.hc.client5.http.impl.async.CloseableHttpAsyncClient>Supplier forCloseableHttpAsyncClients.May be used to provide customized HTTP clients to data source clients.
Closing of the supplied
CloseableHttpAsyncClientinstances is a responsibility of the caller.
-
-
Method Summary
Static Methods Modifier and Type Method Description static HttpAsyncClientSuppliergetDefault()
-
-
-
Method Detail
-
getDefault
static HttpAsyncClientSupplier getDefault()
-
-