public class CommunoteMultipartResolver
extends org.springframework.web.multipart.commons.CommonsMultipartResolver
Constructor and Description |
---|
CommunoteMultipartResolver()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
setMaxSizeOffset(long maxSizeOffset)
Overrides the default offset (1000000 bytes) to be added to the file upload limit for
defining the maximum size of a multipart request.
|
void |
setMaxUploadSize(long maxUploadSize) |
cleanupMultipart, determineEncoding, isMultipart, newFileUpload, parseRequest, resolveMultipart, setResolveLazily, setServletContext
cleanupFileItems, getDefaultEncoding, getFileItemFactory, getFileUpload, isUploadTempDirSpecified, newFileItemFactory, parseFileItems, prepareFileUpload, setDefaultEncoding, setMaxInMemorySize, setUploadTempDir
public CommunoteMultipartResolver()
public void setMaxSizeOffset(long maxSizeOffset)
maxSizeOffset
- the maxSizeOffset to setpublic void setMaxUploadSize(long maxUploadSize)
setMaxUploadSize
in class org.springframework.web.multipart.commons.CommonsFileUploadSupport
Copyright © 2019 Communote team. All rights reserved.