Class ServletOutputStreamWrapper

  • All Implemented Interfaces:
    Closeable, Flushable, AutoCloseable

    public class ServletOutputStreamWrapper
    extends jakarta.servlet.ServletOutputStream
    Servlet output stream
    • Constructor Detail

      • ServletOutputStreamWrapper

        public ServletOutputStreamWrapper​(@NotNull
                                          javax.servlet.ServletOutputStream stream)
        Create new stream
        Parameters:
        stream - wrapped stream
    • Method Detail

      • print

        public void print​(String s)
                   throws IOException
        Overrides:
        print in class jakarta.servlet.ServletOutputStream
        Throws:
        IOException
      • print

        public void print​(boolean b)
                   throws IOException
        Overrides:
        print in class jakarta.servlet.ServletOutputStream
        Throws:
        IOException
      • print

        public void print​(char c)
                   throws IOException
        Overrides:
        print in class jakarta.servlet.ServletOutputStream
        Throws:
        IOException
      • print

        public void print​(int i)
                   throws IOException
        Overrides:
        print in class jakarta.servlet.ServletOutputStream
        Throws:
        IOException
      • print

        public void print​(long l)
                   throws IOException
        Overrides:
        print in class jakarta.servlet.ServletOutputStream
        Throws:
        IOException
      • print

        public void print​(float f)
                   throws IOException
        Overrides:
        print in class jakarta.servlet.ServletOutputStream
        Throws:
        IOException
      • print

        public void print​(double d)
                   throws IOException
        Overrides:
        print in class jakarta.servlet.ServletOutputStream
        Throws:
        IOException
      • println

        public void println()
                     throws IOException
        Overrides:
        println in class jakarta.servlet.ServletOutputStream
        Throws:
        IOException
      • println

        public void println​(String s)
                     throws IOException
        Overrides:
        println in class jakarta.servlet.ServletOutputStream
        Throws:
        IOException
      • println

        public void println​(boolean b)
                     throws IOException
        Overrides:
        println in class jakarta.servlet.ServletOutputStream
        Throws:
        IOException
      • println

        public void println​(char c)
                     throws IOException
        Overrides:
        println in class jakarta.servlet.ServletOutputStream
        Throws:
        IOException
      • println

        public void println​(int i)
                     throws IOException
        Overrides:
        println in class jakarta.servlet.ServletOutputStream
        Throws:
        IOException
      • println

        public void println​(long l)
                     throws IOException
        Overrides:
        println in class jakarta.servlet.ServletOutputStream
        Throws:
        IOException
      • println

        public void println​(float f)
                     throws IOException
        Overrides:
        println in class jakarta.servlet.ServletOutputStream
        Throws:
        IOException
      • println

        public void println​(double d)
                     throws IOException
        Overrides:
        println in class jakarta.servlet.ServletOutputStream
        Throws:
        IOException
      • isReady

        public boolean isReady()
        Specified by:
        isReady in class jakarta.servlet.ServletOutputStream
      • setWriteListener

        public void setWriteListener​(jakarta.servlet.WriteListener writeListener)
        Specified by:
        setWriteListener in class jakarta.servlet.ServletOutputStream