Class ApacheMultiPart
java.lang.Object
cloud.piranha.extension.apache.fileupload.ApacheMultiPart
- All Implemented Interfaces:
jakarta.servlet.http.Part
The Part for the ApacheMultiPartManager.
This class implements the Servlet Part API and delegates to an Apache Commons FileItem for its functionality.
- Author:
- Manfred Riem ([email protected])
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
delete()
getHeaders
(String name) getName()
long
getSize()
void
-
Constructor Details
-
ApacheMultiPart
public ApacheMultiPart(org.apache.commons.fileupload.FileItem item) Constructor.- Parameters:
item
- the file item.
-
-
Method Details
-
delete
- Specified by:
delete
in interfacejakarta.servlet.http.Part
- Throws:
IOException
- See Also:
-
Part.delete()
-
getContentType
- Specified by:
getContentType
in interfacejakarta.servlet.http.Part
- See Also:
-
Part.getContentType()
-
getHeader
- Specified by:
getHeader
in interfacejakarta.servlet.http.Part
- See Also:
-
Part.getHeader(java.lang.String)
-
getHeaderNames
- Specified by:
getHeaderNames
in interfacejakarta.servlet.http.Part
- See Also:
-
Part.getHeaderNames()
-
getHeaders
- Specified by:
getHeaders
in interfacejakarta.servlet.http.Part
- See Also:
-
Part.getHeaders(java.lang.String)
-
getInputStream
- Specified by:
getInputStream
in interfacejakarta.servlet.http.Part
- Throws:
IOException
- See Also:
-
Part.getInputStream()
-
getName
- Specified by:
getName
in interfacejakarta.servlet.http.Part
- See Also:
-
Part.getName()
-
getSize
public long getSize()- Specified by:
getSize
in interfacejakarta.servlet.http.Part
- See Also:
-
Part.getSize()
-
getSubmittedFileName
- Specified by:
getSubmittedFileName
in interfacejakarta.servlet.http.Part
- See Also:
-
Part.getSubmittedFileName()
-
write
- Specified by:
write
in interfacejakarta.servlet.http.Part
- Throws:
IOException
- See Also:
-
Part.write(java.lang.String)
-