@Contract(threading=IMMUTABLE)
public class DefaultConnectionKeepAliveStrategy
extends java.lang.Object
implements org.apache.http.conn.ConnectionKeepAliveStrategy
| Modifier and Type | Field and Description |
|---|---|
static DefaultConnectionKeepAliveStrategy |
INSTANCE |
| Constructor and Description |
|---|
DefaultConnectionKeepAliveStrategy() |
| Modifier and Type | Method and Description |
|---|---|
long |
getKeepAliveDuration(HttpResponse response,
org.apache.http.protocol.HttpContext context) |
public static final DefaultConnectionKeepAliveStrategy INSTANCE
public long getKeepAliveDuration(HttpResponse response, org.apache.http.protocol.HttpContext context)
getKeepAliveDuration in interface org.apache.http.conn.ConnectionKeepAliveStrategy