Class CircleServletInputStream

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

    
    public class CircleServletInputStream
    extends ServletInputStream
                        

    Stream (reuse) that can be read recursively

    Since:

    2020-09-25

    Author:

    trydofor

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      int read()
      int read(Array<byte> b)
      int read(Array<byte> b, int off, int len)
      boolean isFinished()
      boolean isReady()
      void setReadListener(ReadListener readListener)
      • Methods inherited from class jakarta.servlet.ServletInputStream

        readLine
      • Methods inherited from class java.io.InputStream

        available, close, mark, markSupported, nullInputStream, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CircleServletInputStream

        CircleServletInputStream(ServletInputStream backend)
      • CircleServletInputStream

        CircleServletInputStream(ServletInputStream backend, ByteArrayOutputStream content)