Class CommonsMultipartFormDataParserFactoryBean
java.lang.Object
com.aspectran.web.support.multipart.commons.CommonsMultipartFormDataParserFactory
com.aspectran.web.support.multipart.commons.CommonsMultipartFormDataParserFactoryBean
- All Implemented Interfaces:
FactoryBean<MultipartFormDataParser>
,InitializableBean
,InitializableFactoryBean<MultipartFormDataParser>
,ApplicationAdapterAware
,Aware
public class CommonsMultipartFormDataParserFactoryBean
extends CommonsMultipartFormDataParserFactory
implements ApplicationAdapterAware, InitializableFactoryBean<MultipartFormDataParser>
The Class CommonsMultipartFormDataParserFactoryBean.
- Since:
- 2.0.0
-
Field Summary
Fields inherited from interface com.aspectran.core.component.bean.ablility.FactoryBean
FACTORY_METHOD_NAME
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn an instance (possibly shared or independent) of the object managed by this factory.void
Invoke on initialization after it has set all bean properties supplied.void
setApplicationAdapter
(ApplicationAdapter applicationAdapter) void
setTempFileDir
(String tempFileDir) Sets the directory path used to temporarily files.Methods inherited from class com.aspectran.web.support.multipart.commons.CommonsMultipartFormDataParserFactory
createMultipartFormDataParser, getAllowedFileExtensions, getDeniedFileExtensions, getMaxRequestSize, getTempFileDir, setAllowedFileExtensions, setDeniedFileExtensions, setMaxFileSize, setMaxFileSize, setMaxInMemorySize, setMaxInMemorySize, setMaxRequestSize, setMaxRequestSize
-
Constructor Details
-
CommonsMultipartFormDataParserFactoryBean
public CommonsMultipartFormDataParserFactoryBean()
-
-
Method Details
-
setApplicationAdapter
- Specified by:
setApplicationAdapter
in interfaceApplicationAdapterAware
-
setTempFileDir
Description copied from class:CommonsMultipartFormDataParserFactory
Sets the directory path used to temporarily files.- Overrides:
setTempFileDir
in classCommonsMultipartFormDataParserFactory
- Parameters:
tempFileDir
- the directory path used for temporary files
-
initialize
Description copied from interface:InitializableBean
Invoke on initialization after it has set all bean properties supplied.- Specified by:
initialize
in interfaceInitializableBean
- Throws:
Exception
- if initialization fails
-
getObject
Description copied from interface:FactoryBean
Return an instance (possibly shared or independent) of the object managed by this factory. As with a BeanFactory, this allows support for both the Singleton and Prototype design pattern.- Specified by:
getObject
in interfaceFactoryBean<MultipartFormDataParser>
- Returns:
- an instance of the bean (can be null)
-