public class HttpConnectionKeepAliveStrategy
extends org.apache.http.impl.client.DefaultConnectionKeepAliveStrategy
| Constructor and Description |
|---|
HttpConnectionKeepAliveStrategy(long keepAlive) |
| Modifier and Type | Method and Description |
|---|---|
long |
getKeepAliveDuration(org.apache.http.HttpResponse response,
org.apache.http.protocol.HttpContext context) |
public HttpConnectionKeepAliveStrategy(long keepAlive)
public long getKeepAliveDuration(org.apache.http.HttpResponse response,
org.apache.http.protocol.HttpContext context)
getKeepAliveDuration in interface org.apache.http.conn.ConnectionKeepAliveStrategygetKeepAliveDuration in class org.apache.http.impl.client.DefaultConnectionKeepAliveStrategy