@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 ConnectionReuseStrategy
keepAlive
in class DefaultConnectionReuseStrategy
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.