Sample Servlet code to consume the request being sent