capture HttpServletResponse Object
I want to extract the body of a HttpServletResponse Object.I know we could use a filter to do that but i was wondering if there is any other way in which开发者_如何学运维 i can get the body content.I just want to extract the information from my printstream object.Any help or code samples will help?
Thanks
You can use AOP to create an aspect around the do** method and capture the response.
精彩评论