Package org.gcube.smartgears
Class Constants
java.lang.Object
org.gcube.smartgears.Constants
Library-wide constants.
- Author:
- Fabio Simeoni, Luca Frosini (ISTI-CNR)
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe name of the Accept HTTP headerstatic final StringThe configuration name ofAccountingManagers.static final StringThe name of the Allow HTTP headerstatic final StringThe name of the Json media type.static final intThe default application republish frequency in minutes.static final StringThe name of the XHTML media type.static final StringThe name of the XML media type.static final StringThe name of the HTTP header for standard HTTP basic authorizationstatic final StringThe name of the HTTP header that contains the called method of the current requeststatic final StringThe application configuration resource path.static final StringThe container configuration file path, relative to the container configuration directory.static final StringThe path of the application profile file, relative to the container configuration directory.static final StringThe name of the Content-Type HTTP headerstatic final StringThe name of the attribute in the servlet context that contains the context of an application.static final longThe default value of for the container publication frequency.static final StringThe application frontpage resource path.static final StringThe environment variable that points to the container configuration directory.static final StringThe system property that points to the container configuration directory.static final Stringjar The name of the XML media type.static final StringThe path of the application profile file, relative to the service configuration directory.static final StringThe configuration name for profile management.static final StringThe name of the context property that contains the endpoint profile.static final StringThe configuration name ofRemoteResources.static final StringThe configuration name ofRequestAccountings.static final StringThe configuration name ofRequestValidators.static final StringThe name of the HTTP header carrying the per-request correlation identifier.static final StringThe configuration name ofRequestIdHandlers.static final StringThe configuration name for request metrics.static final StringThe configuration name ofRequestValidators.static final StringThe mapping root of all extensions.static final StringThe name of the HTTP header that contains the scope of requestsstatic final StringThe name of the HTTP header that contains the authorization token of requestsstatic final StringThe event for token registration for app.static final StringThe event for token removal for app.static final StringThe wildcard exclude directive. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ghn_home_env
The environment variable that points to the container configuration directory.- See Also:
-
ghn_home_property
The system property that points to the container configuration directory.- See Also:
-
container_configuraton_file_path
The container configuration file path, relative to the container configuration directory.- See Also:
-
container_profile_file_path
The path of the application profile file, relative to the container configuration directory.- See Also:
-
default_container_publication_frequency_in_seconds
public static final long default_container_publication_frequency_in_secondsThe default value of for the container publication frequency.- See Also:
-
configuration_file_path
The application configuration resource path.- See Also:
-
WILDCARD
The wildcard exclude directive.- See Also:
-
root_mapping
The mapping root of all extensions.- See Also:
-
frontpage_file_path
The application frontpage resource path.- See Also:
-
profile_management
The configuration name for profile management.- See Also:
-
request_validation
The configuration name ofRequestValidators.- See Also:
-
request_metrics
The configuration name for request metrics.- See Also:
-
request_context_retriever
The configuration name ofRequestValidators.- See Also:
-
accounting_management
The configuration name ofAccountingManagers.- See Also:
-
request_accounting
The configuration name ofRequestAccountings.- See Also:
-
remote_management
The configuration name ofRemoteResources.- See Also:
-
profile_file_path
The path of the application profile file, relative to the service configuration directory.- See Also:
-
profile_property
The name of the context property that contains the endpoint profile.- See Also:
-
context_attribute
The name of the attribute in the servlet context that contains the context of an application.- See Also:
-
scope_header
The name of the HTTP header that contains the scope of requests- See Also:
-
token_header
The name of the HTTP header that contains the authorization token of requests- See Also:
-
token_registered
The event for token registration for app.- See Also:
-
token_removed
The event for token removal for app.- See Also:
-
REQUEST_ID_HEADER
The name of the HTTP header carrying the per-request correlation identifier. The value is forwarded from the client (or generated by SmartGears when absent) and echoed back in the response byRequestIdHandler.- See Also:
-
request_id_management
The configuration name ofRequestIdHandlers.- See Also:
-
authorization_header
The name of the HTTP header for standard HTTP basic authorization- See Also:
-
called_method_header
The name of the HTTP header that contains the called method of the current request- See Also:
-
content_type
The name of the Content-Type HTTP header- See Also:
-
accept
The name of the Accept HTTP header- See Also:
-
allow
The name of the Allow HTTP header- See Also:
-
plain_text
jar The name of the XML media type.- See Also:
-
application_xml
The name of the XML media type.- See Also:
-
application_xhtml
The name of the XHTML media type.- See Also:
-
application_json
The name of the Json media type.- See Also:
-
application_republish_frequency_in_minutes
public static final int application_republish_frequency_in_minutesThe default application republish frequency in minutes.- See Also:
-
-
Constructor Details
-
Constants
public Constants()
-