Interface HttpConnectionConfig


  • public interface HttpConnectionConfig
    Http client connections Configuration parameters
    • Method Detail

      • getMaxConnTotal

        int getMaxConnTotal()
        Returns:
        the maximum open connections for the Http client
      • setMaxConnTotal

        void setMaxConnTotal​(int maxConnTotal)
        Parameters:
        maxConnTotal - the maximum open connections for the Http client
      • getMaxConnPerRoute

        int getMaxConnPerRoute()
        Returns:
        the maximum open connections for route (host/proxy combination)
      • setMaxConnPerRoute

        void setMaxConnPerRoute​(int maxConnectionsPerRoute)
        Parameters:
        maxConnectionsPerRoute - the maximum open connections for route (host/proxy combination)