Class ResponseWriterWrapper

java.lang.Object
java.io.Writer
jakarta.faces.context.ResponseWriter
jakarta.faces.context.ResponseWriterWrapper
All Implemented Interfaces:
FacesWrapper<ResponseWriter>, Closeable, Flushable, Appendable, AutoCloseable
Direct Known Subclasses:
PartialResponseWriter

public abstract class ResponseWriterWrapper extends ResponseWriter implements FacesWrapper<ResponseWriter>

Provides a simple implementation of ResponseWriter that can be subclassed by developers wishing to provide specialized behavior to an existing ResponseWriter instance. The default implementation of all methods is to call through to the wrapped ResponseWriter.

Usage: extend this class and push the implementation being wrapped to the constructor and use getWrapped() to access the instance being wrapped.

Since:
1.2