开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜