Annotation Type 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 fileSizeThreshold
    Get the file size threshold.
    java.lang.String location
    Get the storage location.
    long maxFileSize
    Get the maximum file size.
    long maxRequestSize
    Get the maximum POST body request size.
  • Element Details

    • fileSizeThreshold

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

      java.lang.String location
      Get 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
      Get the maximum POST body request size.
      Returns:
      the maximum POST body request size.
      Default:
      -1L