Class SdkConnectionKeepAliveStrategy
- java.lang.Object
-
- software.amazon.awssdk.http.apache.internal.conn.SdkConnectionKeepAliveStrategy
-
- All Implemented Interfaces:
org.apache.http.conn.ConnectionKeepAliveStrategy
@SdkInternalApi public class SdkConnectionKeepAliveStrategy extends Object implements org.apache.http.conn.ConnectionKeepAliveStrategy
The AWS SDK for Java's implementation of theConnectionKeepAliveStrategyinterface. 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 longgetKeepAliveDuration(org.apache.http.HttpResponse response, org.apache.http.protocol.HttpContext context)
-