org.kawanfw.file.util.parms.Settings Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of awake-file-server Show documentation
Show all versions of awake-file-server Show documentation
Awake FILE is a secure Open Source framework that allows to program very easily file uploads/downloads and RPC through http. File transfers include
powerful features like file chunking and automatic recovery mechanism.
Security has been taken into account from the design: server side allows
to specify strong security rules in order to protect the files and to secure the RPC calls.
The newest version!
/**
*
*/
package org.kawanfw.file.util.parms;
import org.kawanfw.file.api.client.RemoteSession;
/**
*
* Define settings for some behaviors.
* @author Nicolas de Pomereu
*
*/
public class Settings {
// /**
// * Says if the FilenameFilter and FileFilter base64 serialized strings
// * should be transported by string (request) or per file upload
// */
// public static final boolean TRANSFER_FILTER_PER_FILE_UPLOAD = true;
/**
* Define the max size for a String for http request. Greater Stringd should be
* uloaded with a file to lower server memory usage
*/
public static final long MAX_STRING_SIZE_FOR_HTTP_REQUEST = RemoteSession.KB * 4;
/**
*
*/
protected Settings() {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy