public class ResponseContent extends Object implements HttpResponseInterceptor
Content-Length
or Transfer-Content
headers based
on the properties of the enclosed entity and the protocol version.
This interceptor is required for correct functioning of server side protocol
processors.Constructor and Description |
---|
ResponseContent() |
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-2012 The Apache Software Foundation. All Rights Reserved.