Code example for RequestContent

0
                            new ResponseConnControl()
            }); 
 
            // Set up outgoing request executor 
            final HttpRequestExecutor httpexecutor = new HttpRequestExecutor();
 
            // Set up incoming request handler 
            final UriHttpRequestHandlerMapper reqistry = new UriHttpRequestHandlerMapper();
            reqistry.register("*", new ProxyHandler(
                    this.target,
                    outhttpproc,
                    httpexecutor));
 
            // Set up the HTTP service 
            this.httpService = new HttpService(inhttpproc, reqistry);
        } 
 
        @Override 
        public void run() { 
            System.out.println("Listening on port " + this.serversocket.getLocalPort());
            while (!Thread.interrupted()) {