Interface ConnectionPool.Multiplexable

All Known Implementing Classes:
HttpConnectionOverHTTP2
Enclosing interface:
ConnectionPool

public static interface ConnectionPool.Multiplexable
Marks a connection as supporting multiplexed requests.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    default void
    setMaxMultiplex(int maxMultiplex)
    Deprecated.
    do not use, as the maxMultiplex value is pulled, rather than pushed
  • Method Details

    • getMaxMultiplex

      int getMaxMultiplex()
      Returns:
      the max number of requests multiplexable on a single connection
    • setMaxMultiplex

      @Deprecated default void setMaxMultiplex(int maxMultiplex)
      Deprecated.
      do not use, as the maxMultiplex value is pulled, rather than pushed
      Parameters:
      maxMultiplex - the max number of requests multiplexable on a single connection