Class CamelServletConfig.ServletConfig.MultipartConfig
java.lang.Object
org.apache.camel.quarkus.servlet.runtime.CamelServletConfig.ServletConfig.MultipartConfig
- Enclosing class:
- CamelServletConfig.ServletConfig
Servlet multipart request configuration.
-
Field Summary
FieldsModifier and TypeFieldDescriptionintThe file size in bytes after which the file will be temporarily stored on disk.An absolute path to a directory on the file system to store files temporarily while the parts are processed or when the size of the file exceeds the specified file-size-threshold configuration value.longThe maximum size allowed in bytes for uploaded files.longThe maximum size allowed in bytes for a multipart/form-data request. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
location
An absolute path to a directory on the file system to store files temporarily while the parts are processed or when the size of the file exceeds the specified file-size-threshold configuration value. -
maxFileSize
@ConfigItem(defaultValue="-1") public long maxFileSizeThe maximum size allowed in bytes for uploaded files. The default size (-1) allows an unlimited size. -
maxRequestSize
@ConfigItem(defaultValue="-1") public long maxRequestSizeThe maximum size allowed in bytes for a multipart/form-data request. The default size (-1) allows an unlimited size. -
fileSizeThreshold
@ConfigItem(defaultValue="0") public int fileSizeThresholdThe file size in bytes after which the file will be temporarily stored on disk.
-
-
Constructor Details
-
MultipartConfig
public MultipartConfig()
-