Class StringResponseWrapper.AtomFeedOutputStream

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

    public class StringResponseWrapper.AtomFeedOutputStream
    extends ServletOutputStream
    The AtomFeedOutputStream allows for deferring the data to another OutputStream.
    • Constructor Detail

      • AtomFeedOutputStream

        public AtomFeedOutputStream​(java.io.OutputStream out)
        Creates a new AtomFeedOutputStream using the specified output stream to write the data to.
        Parameters:
        out - The output stream
    • Method Detail

      • write

        public void write​(int b)
                   throws java.io.IOException
        Specified by:
        write in class java.io.OutputStream
        Throws:
        java.io.IOException
      • write

        public void write​(byte[] b,
                          int off,
                          int len)
                   throws java.io.IOException
        Overrides:
        write in class java.io.OutputStream
        Throws:
        java.io.IOException
      • write

        public void write​(byte[] b)
                   throws java.io.IOException
        Overrides:
        write in class java.io.OutputStream
        Throws:
        java.io.IOException