@Contract(threading=STATELESS) public class RequestClientConnControl extends Object implements org.apache.hc.core5.http.HttpRequestInterceptor
Connection
header to the outgoing requests, which is essential for managing persistence
of HTTP/1.0
connections.Constructor and Description |
---|
RequestClientConnControl() |
Modifier and Type | Method and Description |
---|---|
void |
process(org.apache.hc.core5.http.HttpRequest request,
org.apache.hc.core5.http.EntityDetails entity,
org.apache.hc.core5.http.protocol.HttpContext context) |
public void process(org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.EntityDetails entity, org.apache.hc.core5.http.protocol.HttpContext context) throws org.apache.hc.core5.http.HttpException, IOException
process
in interface org.apache.hc.core5.http.HttpRequestInterceptor
org.apache.hc.core5.http.HttpException
IOException
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.