@Contract(threading=STATELESS) public class DefaultClientConnectionReuseStrategy extends DefaultConnectionReuseStrategy
DefaultConnectionReuseStrategy that treats
CONNECT method exchanges involved in proxy tunnelling as a special case.| Modifier and Type | Field and Description |
|---|---|
static DefaultClientConnectionReuseStrategy |
INSTANCE |
| Constructor and Description |
|---|
DefaultClientConnectionReuseStrategy() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
keepAlive(HttpRequest request,
HttpResponse response,
HttpContext context) |
public static final DefaultClientConnectionReuseStrategy INSTANCE
public DefaultClientConnectionReuseStrategy()
public boolean keepAlive(HttpRequest request, HttpResponse response, HttpContext context)
keepAlive in interface ConnectionReuseStrategykeepAlive in class DefaultConnectionReuseStrategyCopyright © 1999–2021 The Apache Software Foundation. All rights reserved.