Class DelegatingServletOutputStream

java.lang.Object
java.io.OutputStream
jakarta.servlet.ServletOutputStream
org.springframework.mock.web.DelegatingServletOutputStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

public class DelegatingServletOutputStream extends ServletOutputStream
Delegating implementation of ServletOutputStream.

Used by MockHttpServletResponse; typically not directly used for testing application controllers.

Since:
1.0.2
Author:
Juergen Hoeller
See Also: