开发者

capture HttpServletResponse Object

开发者 https://www.devze.com 2023-01-07 08:42 出处:网络
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

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

精彩评论

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