Class CamelServletConfig.ServletConfig.MultipartConfig

java.lang.Object
org.apache.camel.quarkus.servlet.runtime.CamelServletConfig.ServletConfig.MultipartConfig
Enclosing class:
CamelServletConfig.ServletConfig

public static class CamelServletConfig.ServletConfig.MultipartConfig extends Object
Servlet multipart request configuration.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    int
    The 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.
    long
    The maximum size allowed in bytes for uploaded files.
    long
    The maximum size allowed in bytes for a multipart/form-data request.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • location

      @ConfigItem(defaultValue="${java.io.tmpdir}") public String 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 maxFileSize
      The maximum size allowed in bytes for uploaded files. The default size (-1) allows an unlimited size.
    • maxRequestSize

      @ConfigItem(defaultValue="-1") public long maxRequestSize
      The 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 fileSizeThreshold
      The file size in bytes after which the file will be temporarily stored on disk.
  • Constructor Details

    • MultipartConfig

      public MultipartConfig()