Class ConnManagerParams

    • Field Detail

      • DEFAULT_MAX_TOTAL_CONNECTIONS

        public static final int DEFAULT_MAX_TOTAL_CONNECTIONS
        Deprecated.
        The default maximum number of connections allowed overall
        See Also:
        Constant Field Values
    • Constructor Detail

      • ConnManagerParams

        public ConnManagerParams()
        Deprecated.
    • Method Detail

      • setMaxConnectionsPerRoute

        public static void setMaxConnectionsPerRoute​(HttpParams params,
                                                     ConnPerRoute connPerRoute)
        Deprecated.
        Sets lookup interface for maximum number of connections allowed per route.
        Parameters:
        params - HTTP parameters
        connPerRoute - lookup interface for maximum number of connections allowed per route
      • getMaxConnectionsPerRoute

        public static ConnPerRoute getMaxConnectionsPerRoute​(HttpParams params)
        Deprecated.
        Returns lookup interface for maximum number of connections allowed per route.
        Parameters:
        params - HTTP parameters
        Returns:
        lookup interface for maximum number of connections allowed per route.
      • setMaxTotalConnections

        public static void setMaxTotalConnections​(HttpParams params,
                                                  int maxTotalConnections)
        Deprecated.
        Sets the maximum number of connections allowed.
        Parameters:
        params - HTTP parameters
        maxTotalConnections - The maximum number of connections allowed.
      • getMaxTotalConnections

        public static int getMaxTotalConnections​(HttpParams params)
        Deprecated.
        Gets the maximum number of connections allowed.
        Parameters:
        params - HTTP parameters
        Returns:
        The maximum number of connections allowed.