Class StringResponseWrapper.AtomFeedOutputStream

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

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

      Constructors 
      Constructor Description
      AtomFeedOutputStream​(java.io.OutputStream out)
      Creates a new AtomFeedOutputStream using the specified output stream to write the data to.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void write​(byte[] b)
      void write​(byte[] b, int off, int len)
      void write​(int b)
      • Methods inherited from class javax.servlet.ServletOutputStream

        isReady, print, print, print, print, print, print, print, println, println, println, println, println, println, println, println, setWriteListener
      • Methods inherited from class java.io.OutputStream

        close, flush, nullOutputStream
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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