Package org.gcube.smartgears
Class Constants
- java.lang.Object
-
- org.gcube.smartgears.Constants
-
public class Constants extends Object
Library-wide constants.- Author:
- Fabio Simeoni
-
-
Field Summary
Fields Modifier and Type Field Description static StringacceptThe name of the Accept HTTP headerstatic Stringaccounting_managementThe configuration name ofAccountingManagers.static StringallowThe name of the Allow HTTP headerstatic Stringapplication_jsonThe name of the Json media type.static intapplication_republish_frequency_in_minutesstatic Stringapplication_xhtmlThe name of the XHTML media type.static Stringapplication_xmlThe name of the XML media type.static Stringauthorization_headerThe name of the HTTP header for standard HTTP basic authorizationstatic Stringcalled_method_headerThe name of the HTTP header that contains the called method of the current requeststatic Stringconfiguration_file_pathThe application configuration resource path.static Stringcontainer_configuraton_file_pathThe container configuration file path, relative to the container configuration directory.static Stringcontainer_profile_file_pathThe path of the application profile file, relative to the container configuration directory.static Stringcontent_typeThe name of the Content-Type HTTP headerstatic Stringcontext_attributeThe name of the attribute in the servlet context that contains the context of an application.static longdefault_container_publication_frequency_in_secondsThe default value of for the container publication frequency.static Stringfrontpage_file_pathThe application frontpage resource path.static Stringghn_home_envThe environment variable that points to the container configuration directory.static Stringghn_home_propertyThe system property that points to the container configuration directory.static Stringplain_textjar The name of the XML media type.static Stringprofile_file_pathThe path of the application profile file, relative to the service configuration directory.static Stringprofile_managementThe configuration name ofProfileManagers.static Stringprofile_propertyThe name of the context property that contains the endpoint profile.static Stringremote_managementThe configuration name ofRemoteResources.static Stringrequest_accountingThe configuration name ofRequestAccountings.static Stringrequest_context_retrieverThe configuration name ofRequestValidators.static Stringrequest_metricsThe configuration name ofRequestMetricss.static Stringrequest_validationThe configuration name ofRequestValidators.static Stringroot_mappingThe mapping root of all extensions.static Stringscope_headerThe name of the HTTP header that contains the scope of requestsstatic Stringtoken_headerThe name of the HTTP header that contains the authorization token of requestsstatic Stringtoken_registeredThe event for token registration for app.static Stringtoken_removedThe event for token removal for app.static StringWILDCARDThe wildcard exclude directive.
-
Constructor Summary
Constructors Constructor Description Constants()
-
-
-
Field Detail
-
ghn_home_env
public static final String ghn_home_env
The environment variable that points to the container configuration directory.- See Also:
- Constant Field Values
-
ghn_home_property
public static final String ghn_home_property
The system property that points to the container configuration directory.- See Also:
- Constant Field Values
-
container_configuraton_file_path
public static final String container_configuraton_file_path
The container configuration file path, relative to the container configuration directory.- See Also:
- Constant Field Values
-
container_profile_file_path
public static final String container_profile_file_path
The path of the application profile file, relative to the container configuration directory.- See Also:
- Constant Field Values
-
default_container_publication_frequency_in_seconds
public static final long default_container_publication_frequency_in_seconds
The default value of for the container publication frequency.- See Also:
- Constant Field Values
-
configuration_file_path
public static final String configuration_file_path
The application configuration resource path.- See Also:
- Constant Field Values
-
WILDCARD
public static final String WILDCARD
The wildcard exclude directive.- See Also:
- Constant Field Values
-
root_mapping
public static final String root_mapping
The mapping root of all extensions.- See Also:
- Constant Field Values
-
frontpage_file_path
public static final String frontpage_file_path
The application frontpage resource path.- See Also:
- Constant Field Values
-
profile_management
public static final String profile_management
The configuration name ofProfileManagers.- See Also:
- Constant Field Values
-
request_validation
public static final String request_validation
The configuration name ofRequestValidators.- See Also:
- Constant Field Values
-
request_metrics
public static final String request_metrics
The configuration name ofRequestMetricss.- See Also:
- Constant Field Values
-
request_context_retriever
public static final String request_context_retriever
The configuration name ofRequestValidators.- See Also:
- Constant Field Values
-
accounting_management
public static final String accounting_management
The configuration name ofAccountingManagers.- See Also:
- Constant Field Values
-
request_accounting
public static final String request_accounting
The configuration name ofRequestAccountings.- See Also:
- Constant Field Values
-
remote_management
public static final String remote_management
The configuration name ofRemoteResources.- See Also:
- Constant Field Values
-
profile_file_path
public static final String profile_file_path
The path of the application profile file, relative to the service configuration directory.- See Also:
- Constant Field Values
-
profile_property
public static final String profile_property
The name of the context property that contains the endpoint profile.- See Also:
- Constant Field Values
-
context_attribute
public static final String context_attribute
The name of the attribute in the servlet context that contains the context of an application.- See Also:
- Constant Field Values
-
scope_header
public static final String scope_header
The name of the HTTP header that contains the scope of requests- See Also:
- Constant Field Values
-
token_header
public static final String token_header
The name of the HTTP header that contains the authorization token of requests- See Also:
- Constant Field Values
-
token_registered
public static final String token_registered
The event for token registration for app.- See Also:
- Constant Field Values
-
token_removed
public static final String token_removed
The event for token removal for app.- See Also:
- Constant Field Values
-
authorization_header
public static final String authorization_header
The name of the HTTP header for standard HTTP basic authorization- See Also:
- Constant Field Values
-
called_method_header
public static final String called_method_header
The name of the HTTP header that contains the called method of the current request- See Also:
- Constant Field Values
-
content_type
public static final String content_type
The name of the Content-Type HTTP header- See Also:
- Constant Field Values
-
accept
public static final String accept
The name of the Accept HTTP header- See Also:
- Constant Field Values
-
allow
public static final String allow
The name of the Allow HTTP header- See Also:
- Constant Field Values
-
plain_text
public static final String plain_text
jar The name of the XML media type.- See Also:
- Constant Field Values
-
application_xml
public static final String application_xml
The name of the XML media type.- See Also:
- Constant Field Values
-
application_xhtml
public static final String application_xhtml
The name of the XHTML media type.- See Also:
- Constant Field Values
-
application_json
public static final String application_json
The name of the Json media type.- See Also:
- Constant Field Values
-
application_republish_frequency_in_minutes
public static final int application_republish_frequency_in_minutes
- See Also:
- Constant Field Values
-
-