Class HttpSourceBuilder


  • public class HttpSourceBuilder
    extends java.lang.Object
    • Constructor Detail

      • HttpSourceBuilder

        public HttpSourceBuilder()
    • Method Detail

      • httpClient

        public HttpSourceBuilder httpClient​(org.apache.http.impl.client.CloseableHttpClient client)
      • socketTimeoutMs

        public HttpSourceBuilder socketTimeoutMs​(int socketTimeoutMs)
      • connectTimeoutMs

        public HttpSourceBuilder connectTimeoutMs​(int connectTimeoutMs)
      • alwaysFollowRedirects

        public HttpSourceBuilder alwaysFollowRedirects​(boolean alwaysFollowRedirects)
      • receiveBufferSize

        public HttpSourceBuilder receiveBufferSize​(int receiveBufferSize)
      • pool

        public HttpSourceBuilder pool​(int maxTotalConnections,
                                      int inactiveTtlMs)
      • contentCompression

        public HttpSourceBuilder contentCompression​(boolean contentCompression)
      • requestInterceptor

        public HttpSourceBuilder requestInterceptor​(java.util.function.Consumer<org.apache.http.client.methods.HttpRequestBase> requestInterceptor)