jakarta.servlet.Servlet on which it is declared expects requests
to made using the multipart/form-data MIME type. jakarta.servlet.http.Part components of a given multipart/form-data request are retrieved by a Servlet annotated with MultipartConfig by calling
jakarta.servlet.http.HttpServletRequest#getPart or
jakarta.servlet.http.HttpServletRequest#getParts .@WebServlet("/upload")}@MultipartConfig() public class UploadServlet extends
HttpServlet ... } | Modifier and Type | Method and Description |
|---|---|
| public int | |
| public String | |
| public long | |
| public long |
| fileSizeThreshold | back to summary |
|---|---|
public int fileSizeThreshold()
| |
| location | back to summary |
|---|---|
public String location()
| |
| maxFileSize | back to summary |
|---|---|
public long maxFileSize()
| |
| maxRequestSize | back to summary |
|---|---|
public long maxRequestSize()
| |