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 Summary

    Modifier and Type
    Method
    Description
    int
    Max connections kept in the pool
    void
    setMaxConnections(int maxConnections)
    Sets max connections kept in the pool

    Methods inherited from interface Closeable

    close
  • Method Details

    • getMaxConnections

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

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