Annotation Interface MultipartConfig


@Target(TYPE) @Retention(RUNTIME) public @interface MultipartConfig
The MultipartConfig API.
Author:
Manfred Riem ([email protected])
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    int
    Returns the file size threshold.
    Returns the storage location.
    long
    Get the maximum file size.
    long
    Returns the maximum POST body request size.
  • Element Details

    • fileSizeThreshold

      int fileSizeThreshold
      Returns the file size threshold.
      Returns:
      the file size threshold
      Default:
      0
    • location

      String location
      Returns the storage location.
      Returns:
      the storage location
      Default:
      ""
    • maxFileSize

      long maxFileSize
      Get the maximum file size.
      Returns:
      the maximum file size, or -1 for unlimited.
      Default:
      -1L
    • maxRequestSize

      long maxRequestSize
      Returns the maximum POST body request size.
      Returns:
      the maximum POST body request size
      Default:
      -1L