Interface HttpSenderProvider
public interface HttpSenderProvider
A service provider interface (SPI) for providing
HttpSenders backed by different HTTP
client libraries.
This class is internal and is hence not for public use. Its APIs are unstable and can change at any time.
-
Method Summary
Modifier and TypeMethodDescriptioncreateSender(String endpoint, Compressor compressor, boolean exportAsJson, String contentType, long timeoutNanos, long connectTimeout, Supplier<Map<String, List<String>>> headerSupplier, ProxyOptions proxyOptions, Authenticator authenticator, RetryPolicy retryPolicy, SSLContext sslContext, X509TrustManager trustManager) Returns aHttpSenderconfigured with the provided parameters.
-
Method Details
-
createSender
HttpSender createSender(String endpoint, @Nullable Compressor compressor, boolean exportAsJson, String contentType, long timeoutNanos, long connectTimeout, Supplier<Map<String, List<String>>> headerSupplier, @Nullable ProxyOptions proxyOptions, @Nullable Authenticator authenticator, @Nullable RetryPolicy retryPolicy, @Nullable SSLContext sslContext, @Nullable X509TrustManager trustManager) Returns aHttpSenderconfigured with the provided parameters.
-