code: public static MultipartConfigElement multipartConfig(String location, long maxFileSize, long maxRequestSize, int fileSizeThreshold) {
          return new MultipartConfigElement(location, maxFileSize, maxRequestSize, fileSizeThreshold);
      }
docs: Creates a new multipart config element
  
  @param location          the directory location where files will be stored
  @param maxFileSize       the maximum size allowed for uploaded files
  @param maxRequestSize    the maximum size allowed for
  multipart/form-data requests
  @param fileSizeThreshold the size threshold after which files will
  be written to disk