Class ResponseWriterWrapper

java.lang.Object
java.io.Writer
javax.faces.context.ResponseWriter
javax.faces.context.ResponseWriterWrapper
All Implemented Interfaces:
Closeable, Flushable, Appendable, AutoCloseable, FacesWrapper<ResponseWriter>
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