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, for example, by ShallowEtagHeaderFilter.

Since:
4.1.3
Author:
Juergen Hoeller, Sam Brannen
See Also: