Is there no other better way to do so except by adding a Filter to the Response and the Request Objects?