public class SdkConnectionKeepAliveStrategy extends Object implements org.apache.hc.client5.http.ConnectionKeepAliveStrategy
| Constructor and Description |
|---|
SdkConnectionKeepAliveStrategy(long maxIdleTime) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hc.core5.util.TimeValue |
getKeepAliveDuration(org.apache.hc.core5.http.HttpResponse response,
org.apache.hc.core5.http.protocol.HttpContext context) |
public SdkConnectionKeepAliveStrategy(long maxIdleTime)
public org.apache.hc.core5.util.TimeValue getKeepAliveDuration(org.apache.hc.core5.http.HttpResponse response,
org.apache.hc.core5.http.protocol.HttpContext context)
getKeepAliveDuration in interface org.apache.hc.client5.http.ConnectionKeepAliveStrategyCopyright © 2022. All rights reserved.