Code example for RequestContent

0
    } 
 
    public HttpClient() { 
        this(new ImmutableHttpProcessor( 
                new HttpRequestInterceptor[] {
                        new RequestContent(),
                        new RequestTargetHost(),
                        new RequestConnControl(),
                        new RequestUserAgent("TEST-CLIENT/1.1"),
                        new RequestExpectContinue(true)
                })); 
    } 
 
    public HttpContext getContext() {
        return this.context;
    } 
 
    public int getTimeout() { 
        return this.timeout;
    }