Package org.eclipse.jetty.server
Class MultiParts.MultiPartsHttpParser
java.lang.Object
org.eclipse.jetty.server.MultiParts.MultiPartsHttpParser
- All Implemented Interfaces:
Closeable
,AutoCloseable
,MultiParts
- Enclosing interface:
- MultiParts
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jetty.server.MultiParts
MultiParts.MultiPartsHttpParser, MultiParts.MultiPartsUtilParser, MultiParts.NonCompliance
-
Constructor Summary
ConstructorDescriptionMultiPartsHttpParser
(InputStream in, String contentType, javax.servlet.MultipartConfigElement config, File contextTmpDir, Request request) MultiPartsHttpParser
(InputStream in, String contentType, javax.servlet.MultipartConfigElement config, File contextTmpDir, Request request, int maxParts) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
javax.servlet.http.Part
Collection<javax.servlet.http.Part>
getParts()
boolean
isEmpty()
-
Constructor Details
-
MultiPartsHttpParser
public MultiPartsHttpParser(InputStream in, String contentType, javax.servlet.MultipartConfigElement config, File contextTmpDir, Request request) throws IOException - Throws:
IOException
-
MultiPartsHttpParser
public MultiPartsHttpParser(InputStream in, String contentType, javax.servlet.MultipartConfigElement config, File contextTmpDir, Request request, int maxParts) throws IOException - Throws:
IOException
-
-
Method Details
-
getParts
- Specified by:
getParts
in interfaceMultiParts
- Throws:
IOException
-
getPart
- Specified by:
getPart
in interfaceMultiParts
- Throws:
IOException
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfaceMultiParts
-
getContext
- Specified by:
getContext
in interfaceMultiParts
-
getNonComplianceWarnings
- Specified by:
getNonComplianceWarnings
in interfaceMultiParts
-