title: How to write response filter?
body: <p>Is there a way to handle only response in a filter . </p>
  
  <p>Is the code written below correct ?</p>
  
  <pre><code>  public void doFilter(request , response , chain) {
          //code to handle request 
            chain.doFilter(request, response);
          //code to handle response .
    }
  </code></pre>