Example usage for Java org.springframework.web.multipart.commons CommonsMultipartResolver fields, constructors, methods, implement or subclass
The text is from its open source code.
CommonsMultipartResolver() Constructor for use as bean. | |
CommonsMultipartResolver(ServletContext servletContext) Constructor for standalone usage. |
DiskFileItemFactory | getFileItemFactory() Return the underlying org.apache.commons.fileupload.disk.DiskFileItemFactory instance. |
boolean | isMultipart(HttpServletRequest request) |
MultipartHttpServletRequest | resolveMultipart(final HttpServletRequest request) |
void | setDefaultEncoding(String defaultEncoding) Set the default character encoding to use for parsing requests, to be applied to headers of individual parts and to form fields. |
void | setMaxInMemorySize(int maxInMemorySize) Set the maximum allowed size (in bytes) before uploads are written to disk. |
void | setMaxUploadSize(long maxUploadSize) Set the maximum allowed size (in bytes) before an upload gets rejected. |
void | setMaxUploadSizePerFile(long maxUploadSizePerFile) Set the maximum allowed size (in bytes) for each individual file before an upload gets rejected. |
void | setResolveLazily(boolean resolveLazily) Set whether to resolve the multipart request lazily at the time of file or parameter access. |