title: XSS prevention for REST calls
body: <p>We are facing problems with XSS attacks to our application. We are preventing this by using normal filters for GET requests.</p>
  
  <p>We are using RESTEasy REST webservice calls to our application. Our filter not filtering the data inside form GET/POST/DELETE/PUT requests.</p>
  
  <p>The basic requirment is we need to check the XSS attacks on all the fields,headers and cookies as well.</p>
  
  <p>How do we get the posted values before invoking the method. Just like filters what we did for normal requests.
  I am using resteasy2.0 version for our app.</p>
  
  <p>Is there anyway to update the request wrapper before going to invoke rest method.
  Please give us some suggestions on this. Thanks in advance.</p>
  
  <p>Thanks,
  Govind.</p>