Looking for a capturing impl of HttpServletResponseWrapper

前端 未结 2 2192
清歌不尽
清歌不尽 2020-12-01 22:51

The JavaEE API comes with the HttpServletResponseWrapper which, to quote the javadoc, \"provides a convenient implementation of the HttpServletResponse interface that can be

2条回答
  •  臣服心动
    2020-12-01 23:32

    In the past I've used the objects provide in the spring framework. In particular, this should work: http://static.springsource.org/spring/docs/2.0.x/api/org/springframework/mock/web/MockHttpServletRequest.html

提交回复
热议问题