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 Constructor Description DefaultFileUploadSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getMaxUploadSize()
boolean
isDetectContentType()
boolean
isValidateContentType()
void
setDetectContentType(boolean detectContentType)
void
setMaxUploadSize(long maxUploadSize)
void
setValidateContentType(boolean validateContentType)
-
-
-
Method Detail
-
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)
-
-