Class ByteArrayServletOutputStream

  • All Implemented Interfaces:
    java.io.Closeable, java.io.Flushable, java.lang.AutoCloseable

    public class ByteArrayServletOutputStream
    extends ServletOutputStream
    Class that extends ServletOutputStream to capture output into an in-memory byte array. Used by SSIFilter and SSIServletExternalResolver.
    See Also:
    and ByteArrayOutputStream
    • Field Detail

      • buf

        protected final java.io.ByteArrayOutputStream buf
        Our buffer to hold the stream.
    • Constructor Detail

      • ByteArrayServletOutputStream

        public ByteArrayServletOutputStream()
        Construct a new ServletOutputStream.