Class MemoryMultipartFormDataParserFactory
- java.lang.Object
-
- com.aspectran.web.support.multipart.inmemory.MemoryMultipartFormDataParserFactory
-
- Direct Known Subclasses:
MemoryMultipartFormDataParserFactoryBean
public class MemoryMultipartFormDataParserFactory extends java.lang.Object
The Class MemoryMultipartFormDataParserFactory.- Since:
- 5.1.0
-
-
Constructor Summary
Constructors Constructor Description MemoryMultipartFormDataParserFactory()
Instantiates a new Multipart request wrapper resolver.
-
Method Summary
All Methods Instance Methods Concrete Methods 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.
-
-
-
Method Detail
-
getMaxRequestSize
public long getMaxRequestSize()
Gets the maximum size of the request.- Returns:
- the maximum size of the request
-
setMaxRequestSize
public void setMaxRequestSize(long maxRequestSize)
Sets the maximum size of the request.- Parameters:
maxRequestSize
- the maximum size of the request
-
setMaxRequestSize
public void setMaxRequestSize(java.lang.String maxRequestSize)
Sets the maximum size of the request.- Parameters:
maxRequestSize
- the maximum size of the request
-
setMaxFileSize
public void setMaxFileSize(long maxFileSize)
Sets the maximum size of the file.- Parameters:
maxFileSize
- the maximum size of the file
-
setMaxFileSize
public void setMaxFileSize(java.lang.String maxFileSize)
Sets the maximum size of the file.- Parameters:
maxFileSize
- the maximum size of the file
-
getAllowedFileExtensions
public java.lang.String getAllowedFileExtensions()
Gets the allowed file extensions.- Returns:
- the allowed file extensions
-
setAllowedFileExtensions
public void setAllowedFileExtensions(java.lang.String allowedFileExtensions)
Sets the allowed file extensions.- Parameters:
allowedFileExtensions
- the allowed file extensions
-
getDeniedFileExtensions
public java.lang.String getDeniedFileExtensions()
Gets the denied file extensions.- Returns:
- the denied file extensions
-
setDeniedFileExtensions
public void setDeniedFileExtensions(java.lang.String deniedFileExtensions)
Sets the denied file extensions.- Parameters:
deniedFileExtensions
- the denied file extensions
-
createMultipartFormDataParser
public MultipartFormDataParser createMultipartFormDataParser()
Creates a new MultipartFormDataParser object.- Returns:
- the multipart form data parser
-
-