@Internal
@Contract(threading=STATELESS)
public class DefaultClientConnectionReuseStrategy
extends org.apache.hc.core5.http.impl.DefaultConnectionReuseStrategy
| Modifier and Type | Field and Description |
|---|---|
static DefaultClientConnectionReuseStrategy |
INSTANCE |
| Constructor and Description |
|---|
DefaultClientConnectionReuseStrategy() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
keepAlive(org.apache.hc.core5.http.HttpRequest request,
org.apache.hc.core5.http.HttpResponse response,
org.apache.hc.core5.http.protocol.HttpContext context) |
public static final DefaultClientConnectionReuseStrategy INSTANCE
public DefaultClientConnectionReuseStrategy()
public boolean keepAlive(org.apache.hc.core5.http.HttpRequest request,
org.apache.hc.core5.http.HttpResponse response,
org.apache.hc.core5.http.protocol.HttpContext context)
keepAlive in interface org.apache.hc.core5.http.ConnectionReuseStrategykeepAlive in class org.apache.hc.core5.http.impl.DefaultConnectionReuseStrategyCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.