Interface ConnectionKeepAliveStrategy

All Known Implementing Classes:
DefaultConnectionKeepAliveStrategy

public interface ConnectionKeepAliveStrategy
Interface for deciding how long a connection can remain idle before being reused.
Since:
4.0
Version:
$Revision: $
Author:
Sam Berlin
  • Method Summary

    Modifier and Type Method Description
    long getKeepAliveDuration​(HttpResponse response, HttpContext context)
    Returns the duration of time which this connection can be safely kept idle.