- All Known Implementing Classes:
DefaultMultiPartManager
public interface MultiPartManager
The multi-part manager API.
- Author:
- Manfred Riem ([email protected])
-
Method Summary
Modifier and Type Method Description Part
getPart(WebApplication webApplication, WebApplicationRequest request, java.lang.String name)
Get the part.java.util.Collection<Part>
getParts(WebApplication webApplication, WebApplicationRequest request)
Get the parts.
-
Method Details
-
getParts
java.util.Collection<Part> getParts(WebApplication webApplication, WebApplicationRequest request) throws ServletExceptionGet the parts.- Parameters:
webApplication
- the web application.request
- the web application request.- Returns:
- the parts.
- Throws:
ServletException
- when the request is not a multipart/form-data request.
-
getPart
Part getPart(WebApplication webApplication, WebApplicationRequest request, java.lang.String name) throws ServletExceptionGet the part.- Parameters:
webApplication
- the web application.request
- the web application request.name
- the name of the part.- Returns:
- the part, or null if not found.
- Throws:
ServletException
- when the request is not a multipart/form-data request.
-