@Contract(threading=IMMUTABLE) public class ResponseConformance extends Object implements HttpResponseInterceptor
This interceptor is essential for the HTTP protocol conformance and the correct operation of the server-side message processing pipeline.
| Modifier and Type | Field and Description | 
|---|---|
| static ResponseConformance | INSTANCE | 
| Constructor and Description | 
|---|
| ResponseConformance() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | process(HttpResponse response,
       EntityDetails entity,
       HttpContext context)Processes a response. | 
public static final ResponseConformance INSTANCE
public void process(HttpResponse response, EntityDetails entity, HttpContext context) throws HttpException, IOException
HttpResponseInterceptorprocess in interface 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 © 2005–2021 The Apache Software Foundation. All rights reserved.