@Contract(threading=IMMUTABLE) public class ResponseConnControl extends Object implements HttpResponseInterceptor
Connection
header
to the outgoing responses, which is essential for managing persistence of
HTTP/1.0
connections. This interceptor is recommended for
server side protocol processors.Constructor and Description |
---|
ResponseConnControl() |
public void process(HttpResponse response, HttpContext context) throws HttpException, IOException
HttpResponseInterceptor
process
in interface HttpResponseInterceptor
response
- the response to postprocesscontext
- the context for the requestHttpException
- in case of an HTTP protocol violationIOException
- in case of an I/O errorCopyright © 2005–2022 The Apache Software Foundation. All rights reserved.