@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() |
| Modifier and Type | Method and Description |
|---|---|
void |
process(HttpResponse response,
HttpContext context)
Processes a response.
|
public void process(HttpResponse response, HttpContext context) throws HttpException, IOException
HttpResponseInterceptorprocess in interface HttpResponseInterceptorresponse - the response to postprocesscontext - the context for the requestHttpException - in case of an HTTP protocol violationIOException - in case of an I/O errorCopyright © 2010 - 2020 Adobe. All Rights Reserved