Interface HTTPConnectionPooling

  • All Superinterfaces:
    AutoCloseable, Closeable, HTTPBehavior
    All Known Implementing Classes:
    MultithreadedHttpClient

    public interface HTTPConnectionPooling
    extends HTTPBehavior, Closeable
    Interface to support clients that uses a connection pool
    Author:
    Roar Brænden
    • Method Detail

      • getMaxConnections

        int getMaxConnections()
        Max connections kept in the pool
        Returns:
      • setMaxConnections

        void setMaxConnections​(int maxConnections)
        Sets max connections kept in the pool
        Parameters:
        maxConnections -