CommonsMultipartFormDataParserFactoryBean
public class CommonsMultipartFormDataParserFactory
extends java.lang.Object
Constructor | Description |
---|---|
CommonsMultipartFormDataParserFactory() |
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.
|
java.lang.String |
getTempDirectoryPath() |
Gets the temporary file path.
|
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.
|
void |
setTempDirectoryPath(java.lang.String tempDirectoryPath) |
Sets the temporary directory path.
|
public CommonsMultipartFormDataParserFactory()
public java.lang.String getTempDirectoryPath()
public void setTempDirectoryPath(java.lang.String tempDirectoryPath)
tempDirectoryPath
- the temporary directory pathpublic 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.