Class KeepAliveStrategy

  • All Implemented Interfaces:
    org.apache.http.conn.ConnectionKeepAliveStrategy

    public class KeepAliveStrategy
    extends Object
    implements org.apache.http.conn.ConnectionKeepAliveStrategy
    KeepAliveStrategy class.
    • Constructor Detail

      • KeepAliveStrategy

        public KeepAliveStrategy()
    • Method Detail

      • getKeepAliveDuration

        public long getKeepAliveDuration​(org.apache.http.HttpResponse response,
                                         org.apache.http.protocol.HttpContext context)
        Specified by:
        getKeepAliveDuration in interface org.apache.http.conn.ConnectionKeepAliveStrategy