Class DefaultFileUploadSettings
java.lang.Object
com.aquima.web.components.fileupload.configuration.DefaultFileUploadSettings
@Component
@RefreshScope
@ConfigurationProperties(prefix="blueriq.fileupload")
public class DefaultFileUploadSettings
extends Object
FileUpload settings constructed from the properties file.
- Since:
- 9.6
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
boolean
boolean
void
setDetectContentType
(boolean detectContentType) void
setMaxUploadSize
(long maxUploadSize) void
setValidateContentType
(boolean validateContentType)
-
Constructor Details
-
DefaultFileUploadSettings
public DefaultFileUploadSettings()
-
-
Method Details
-
setMaxUploadSize
public void setMaxUploadSize(long maxUploadSize) -
getMaxUploadSize
public long getMaxUploadSize() -
isDetectContentType
public boolean isDetectContentType() -
setDetectContentType
public void setDetectContentType(boolean detectContentType) -
isValidateContentType
public boolean isValidateContentType() -
setValidateContentType
public void setValidateContentType(boolean validateContentType)
-