2018-05-13 23:56:37 +01:00
|
|
|
package com.baeldung;
|
2018-05-13 03:48:53 +01:00
|
|
|
|
|
|
|
public class Constants {
|
|
|
|
|
|
|
|
public static final String UPLOAD_DIRECTORY = "upload";
|
2018-05-13 23:56:37 +01:00
|
|
|
public static final String DEFAULT_FILENAME = "default.file";
|
2018-05-13 03:48:53 +01:00
|
|
|
|
|
|
|
public static final int MEMORY_THRESHOLD = 1024 * 1024 * 3;
|
|
|
|
public static final int MAX_FILE_SIZE = 1024 * 1024 * 40;
|
|
|
|
public static final int MAX_REQUEST_SIZE = 1024 * 1024 * 50;
|
2018-05-13 23:56:37 +01:00
|
|
|
}
|