Interface MultiPartManager

All Known Implementing Classes:
ApacheMultiPartManager, DefaultMultiPartManager

public interface MultiPartManager
The multi-part manager API.
Author:
Manfred Riem ([email protected])
  • Method Details

    • getParts

      Collection<jakarta.servlet.http.Part> getParts(WebApplication webApplication, WebApplicationRequest request) throws jakarta.servlet.ServletException
      Get the parts.
      Parameters:
      webApplication - the web application.
      request - the web application request.
      Returns:
      the parts.
      Throws:
      jakarta.servlet.ServletException - when the request is not a multipart/form-data request.
    • getPart

      jakarta.servlet.http.Part getPart(WebApplication webApplication, WebApplicationRequest request, String name) throws jakarta.servlet.ServletException
      Get 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:
      jakarta.servlet.ServletException - when the request is not a multipart/form-data request.