@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.| 构造器和说明 |
|---|
ResponseConnControl() |
public void process(HttpResponse response, EntityDetails entity, HttpContext context) throws HttpException, IOException
HttpResponseInterceptorprocess 在接口中 HttpResponseInterceptorresponse - the response to processentity - the request entity details or null if not availablecontext - the context for the requestHttpException - in case of an HTTP protocol violationIOException - in case of an I/O errorCopyright © 2023. All rights reserved.