Package org.eclipse.jetty.server
Class MultiParts.MultiPartsUtilParser
java.lang.Object
org.eclipse.jetty.server.MultiParts.MultiPartsUtilParser
- 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
ConstructorDescriptionMultiPartsUtilParser
(InputStream in, String contentType, jakarta.servlet.MultipartConfigElement config, File contextTmpDir, Request request) MultiPartsUtilParser
(InputStream in, String contentType, jakarta.servlet.MultipartConfigElement config, File contextTmpDir, Request request, int maxParts) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
jakarta.servlet.http.Part
Collection<jakarta.servlet.http.Part>
getParts()
boolean
isEmpty()
-
Constructor Details
-
MultiPartsUtilParser
public MultiPartsUtilParser(InputStream in, String contentType, jakarta.servlet.MultipartConfigElement config, File contextTmpDir, Request request) throws IOException - Throws:
IOException
-
MultiPartsUtilParser
public MultiPartsUtilParser(InputStream in, String contentType, jakarta.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
-