Interface OkHttpClientConnectionPoolFactory

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      okhttp3.ConnectionPool create​(int maxIdleConnections, long keepAliveDuration, TimeUnit timeUnit)
      Creates a new ConnectionPool.
    • Method Detail

      • create

        okhttp3.ConnectionPool create​(int maxIdleConnections,
                                      long keepAliveDuration,
                                      TimeUnit timeUnit)
        Creates a new ConnectionPool.
        Parameters:
        maxIdleConnections - Number of max idle connections to allow.
        keepAliveDuration - Amount of time to keep connections alive.
        timeUnit - The time unit for the keep-alive duration.
        Returns:
        A new ConnectionPool.