public class RequestContent extends Object implements HttpRequestInterceptor
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 client side protocol
processors.Constructor and Description |
---|
RequestContent() |
public void process(HttpRequest request, HttpContext context) throws HttpException, IOException
HttpRequestInterceptor
process
in interface HttpRequestInterceptor
request
- the request to preprocesscontext
- 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.