Class ContentCachingResponseWrapper

All Implemented Interfaces:
HttpServletResponse, ServletResponse

public class ContentCachingResponseWrapper extends HttpServletResponseWrapper
HttpServletResponse wrapper that caches all content written to the output stream and writer, and allows this content to be retrieved via a byte array.

Used e.g. by ShallowEtagHeaderFilter.

Since:
4.1.3
Author:
Juergen Hoeller
See Also: