Class SdkConnectionKeepAliveStrategy
- java.lang.Object
-
- software.amazon.awssdk.http.apache.internal.conn.SdkConnectionKeepAliveStrategy
-
- All Implemented Interfaces:
org.apache.http.conn.ConnectionKeepAliveStrategy
public class SdkConnectionKeepAliveStrategy extends Object implements org.apache.http.conn.ConnectionKeepAliveStrategy
The AWS SDK for Java's implementation of theConnectionKeepAliveStrategy
interface. Allows a user-configurable maximum idle time for connections.
-
-
Constructor Summary
Constructors Constructor Description SdkConnectionKeepAliveStrategy(long maxIdleTime)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getKeepAliveDuration(org.apache.http.HttpResponse response, org.apache.http.protocol.HttpContext context)
-