2018-10-19 17:55:31 +02:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
*/
|
2018-11-15 16:21:31 +01:00
|
|
|
package org.gcube.datatransfer.resolver;
|
2018-10-19 17:55:31 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* The Class ConstantsResolver.
|
|
|
|
*
|
|
|
|
* @author Francesco Mangiacrapa at ISTI-CNR (francesco.mangiacrapa@isti.cnr.it)
|
|
|
|
* Oct 19, 2018
|
|
|
|
*/
|
|
|
|
public class ConstantsResolver {
|
|
|
|
|
2019-01-09 15:40:51 +01:00
|
|
|
public static final String CONTENT_DISPOSITION = "Content-Disposition";
|
2018-10-19 17:55:31 +02:00
|
|
|
public static final String DEFAULT_CONTENTTYPE_UNKNOWN_UNKNOWN = "unknown/unknown";
|
|
|
|
public static final String DEFAULT_FILENAME_FROM_STORAGE_MANAGER = "fromStorageManager";
|
|
|
|
public static final String CONTENT_LENGTH = "Content-Length";
|
2018-10-23 14:32:37 +02:00
|
|
|
public static final String CONTENT_TYPE= "Content-Type";
|
2018-10-19 17:55:31 +02:00
|
|
|
|
2018-11-15 16:21:31 +01:00
|
|
|
public static final String HPC = "hproxycheck"; //for hproxycheck
|
2018-10-19 17:55:31 +02:00
|
|
|
|
2018-10-23 14:32:37 +02:00
|
|
|
public static final String QUERY_PARAM_VALIDATION = "validation";
|
|
|
|
public static final String QUERY_PARAM_CONTENT_TYPE = "contentType";
|
|
|
|
public static final String QUERY_PARAM_FILE_NAME = "fileName";
|
2019-03-15 12:23:04 +01:00
|
|
|
|
|
|
|
public static final String[] resourcesHardCoded = {"ctlg"};
|
|
|
|
|
|
|
|
//The default resource candidate to manage the input requests not matching any resolver services
|
|
|
|
public static final String defaultServiceToRedirect= "storage";
|
2019-02-19 15:18:19 +01:00
|
|
|
|
2018-10-19 17:55:31 +02:00
|
|
|
}
|