Package com.oracle.bmc.http
Class ConnectionPoolingApacheConfigurator.CustomConnectionKeepAliveStrategy
- java.lang.Object
-
- com.oracle.bmc.http.ConnectionPoolingApacheConfigurator.CustomConnectionKeepAliveStrategy
-
- All Implemented Interfaces:
org.apache.http.conn.ConnectionKeepAliveStrategy
- Enclosing class:
- ConnectionPoolingApacheConfigurator
public static class ConnectionPoolingApacheConfigurator.CustomConnectionKeepAliveStrategy extends Object implements org.apache.http.conn.ConnectionKeepAliveStrategy
Keep-alive strategy that honours the server-provided timeout when present while falling back to the configured default.This mirrors the behaviour in
ConnectionPoolingApacheConfigurator.CustomConnectionKeepAliveStrategy.
-
-
Constructor Summary
Constructors Constructor Description CustomConnectionKeepAliveStrategy(long defaultKeepAliveDurationMillis)
-
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)
-