Class FileUploadHandler.SimpleMultiPartInputStream

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

    public static class FileUploadHandler.SimpleMultiPartInputStream
    extends java.io.InputStream
    Stream that extracts content from another stream until the boundary string is encountered. Public only for unit tests, should be considered private for all other purposes.
    • Constructor Summary

      Constructors 
      Constructor Description
      SimpleMultiPartInputStream​(java.io.InputStream realInputStream, java.lang.String boundaryString)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int read()  
      • Methods inherited from class java.io.InputStream

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

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

      • SimpleMultiPartInputStream

        public SimpleMultiPartInputStream​(java.io.InputStream realInputStream,
                                          java.lang.String boundaryString)
    • Method Detail

      • read

        public int read()
                 throws java.io.IOException
        Specified by:
        read in class java.io.InputStream
        Throws:
        java.io.IOException