Java org.springframework.web.multipart.commons CommonsMultipartResolver fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.web.multipart.commons CommonsMultipartResolver fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.web.multipart.commons CommonsMultipartResolver.

The text is from its open source code.

Subclass

org.springframework.web.multipart.commons.CommonsMultipartResolver has subclasses.
Click this link to see all its subclasses.

Constructor

CommonsMultipartResolver()
Constructor for use as bean.
CommonsMultipartResolver(ServletContext servletContext)
Constructor for standalone usage.

Method

DiskFileItemFactorygetFileItemFactory()
Return the underlying org.apache.commons.fileupload.disk.DiskFileItemFactory instance.
booleanisMultipart(HttpServletRequest request)
MultipartHttpServletRequestresolveMultipart(final HttpServletRequest request)
voidsetDefaultEncoding(String defaultEncoding)
Set the default character encoding to use for parsing requests, to be applied to headers of individual parts and to form fields.
voidsetMaxInMemorySize(int maxInMemorySize)
Set the maximum allowed size (in bytes) before uploads are written to disk.
voidsetMaxUploadSize(long maxUploadSize)
Set the maximum allowed size (in bytes) before an upload gets rejected.
voidsetMaxUploadSizePerFile(long maxUploadSizePerFile)
Set the maximum allowed size (in bytes) for each individual file before an upload gets rejected.
voidsetResolveLazily(boolean resolveLazily)
Set whether to resolve the multipart request lazily at the time of file or parameter access.