Class ResponseWriterWrapper

  • All Implemented Interfaces:
    FacesWrapper<ResponseWriter>, java.io.Closeable, java.io.Flushable, java.lang.Appendable, java.lang.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