MemoryMultipartFormDataParserFactoryBeanpublic class MemoryMultipartFormDataParserFactory
extends java.lang.Object
| Constructor | Description |
|---|---|
MemoryMultipartFormDataParserFactory() |
Instantiates a new Multipart request wrapper resolver.
|
| Modifier and Type | Method | Description |
|---|---|---|
MultipartFormDataParser |
createMultipartFormDataParser() |
Creates a new MultipartFormDataParser object.
|
java.lang.String |
getAllowedFileExtensions() |
Gets the allowed file extensions.
|
java.lang.String |
getDeniedFileExtensions() |
Gets the denied file extensions.
|
long |
getMaxRequestSize() |
Gets the maximum size of the request.
|
void |
setAllowedFileExtensions(java.lang.String allowedFileExtensions) |
Sets the allowed file extensions.
|
void |
setDeniedFileExtensions(java.lang.String deniedFileExtensions) |
Sets the denied file extensions.
|
void |
setMaxFileSize(long maxFileSize) |
Sets the maximum size of the file.
|
void |
setMaxFileSize(java.lang.String maxFileSize) |
Sets the maximum size of the file.
|
void |
setMaxRequestSize(long maxRequestSize) |
Sets the maximum size of the request.
|
void |
setMaxRequestSize(java.lang.String maxRequestSize) |
Sets the maximum size of the request.
|
public MemoryMultipartFormDataParserFactory()
public long getMaxRequestSize()
public void setMaxRequestSize(long maxRequestSize)
maxRequestSize - the maximum size of the requestpublic void setMaxRequestSize(java.lang.String maxRequestSize)
maxRequestSize - the maximum size of the requestpublic void setMaxFileSize(long maxFileSize)
maxFileSize - the maximum size of the filepublic void setMaxFileSize(java.lang.String maxFileSize)
maxFileSize - the maximum size of the filepublic java.lang.String getAllowedFileExtensions()
public void setAllowedFileExtensions(java.lang.String allowedFileExtensions)
allowedFileExtensions - the allowed file extensionspublic java.lang.String getDeniedFileExtensions()
public void setDeniedFileExtensions(java.lang.String deniedFileExtensions)
deniedFileExtensions - the denied file extensionspublic MultipartFormDataParser createMultipartFormDataParser()
Copyright © 2008–2018 The Aspectran Project. All rights reserved.