Class MultiParts.MultiPartsHttpParser

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

    public static class MultiParts.MultiPartsHttpParser
    extends java.lang.Object
    implements MultiParts
    • Constructor Detail

      • MultiPartsHttpParser

        public MultiPartsHttpParser​(java.io.InputStream in,
                                    java.lang.String contentType,
                                    javax.servlet.MultipartConfigElement config,
                                    java.io.File contextTmpDir,
                                    Request request)
                             throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • getParts

        public java.util.Collection<javax.servlet.http.Part> getParts()
                                                               throws java.io.IOException
        Specified by:
        getParts in interface MultiParts
        Throws:
        java.io.IOException
      • getPart

        public javax.servlet.http.Part getPart​(java.lang.String name)
                                        throws java.io.IOException
        Specified by:
        getPart in interface MultiParts
        Throws:
        java.io.IOException
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable