@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface MultipartConfig
Servlet
on
which it is declared expects requests to made using the multipart/form-data
MIME type. Part
components of a given multipart/form-data
request are retrieved by a Servlet annotated with
MultipartConfig
by calling
HttpServletRequest.getPart(java.lang.String)
or
HttpServletRequest.getParts()
.@WebServlet("/upload")}
@MultipartConfig()
public class UploadServlet extends
HttpServlet ... }
Modifier and Type | Optional Element and Description |
---|---|
int |
fileSizeThreshold |
java.lang.String |
location |
long |
maxFileSize |
long |
maxRequestSize |
public abstract java.lang.String location
public abstract long maxFileSize
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.