Class Constants

java.lang.Object
org.gcube.smartgears.Constants

public class Constants extends Object
Library-wide constants.
Author:
Fabio Simeoni, Luca Frosini (ISTI-CNR)
  • Field Details

    • ghn_home_env

      public static final String ghn_home_env
      The environment variable that points to the container configuration directory.
      See Also:
    • ghn_home_property

      public static final String ghn_home_property
      The system property that points to the container configuration directory.
      See Also:
    • 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:
    • 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:
    • 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:
    • configuration_file_path

      public static final String configuration_file_path
      The application configuration resource path.
      See Also:
    • WILDCARD

      public static final String WILDCARD
      The wildcard exclude directive.
      See Also:
    • root_mapping

      public static final String root_mapping
      The mapping root of all extensions.
      See Also:
    • frontpage_file_path

      public static final String frontpage_file_path
      The application frontpage resource path.
      See Also:
    • profile_management

      public static final String profile_management
      The configuration name for profile management.
      See Also:
    • request_validation

      public static final String request_validation
      The configuration name of RequestValidators.
      See Also:
    • request_metrics

      public static final String request_metrics
      The configuration name for request metrics.
      See Also:
    • request_context_retriever

      public static final String request_context_retriever
      The configuration name of RequestValidators.
      See Also:
    • accounting_management

      public static final String accounting_management
      The configuration name of AccountingManagers.
      See Also:
    • request_accounting

      public static final String request_accounting
      The configuration name of RequestAccountings.
      See Also:
    • remote_management

      public static final String remote_management
      The configuration name of RemoteResources.
      See Also:
    • 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:
    • profile_property

      public static final String profile_property
      The name of the context property that contains the endpoint profile.
      See Also:
    • 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:
    • scope_header

      public static final String scope_header
      The name of the HTTP header that contains the scope of requests
      See Also:
    • token_header

      public static final String token_header
      The name of the HTTP header that contains the authorization token of requests
      See Also:
    • token_registered

      public static final String token_registered
      The event for token registration for app.
      See Also:
    • token_removed

      public static final String token_removed
      The event for token removal for app.
      See Also:
    • REQUEST_ID_HEADER

      public static final String 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 by RequestIdHandler.
      See Also:
    • request_id_management

      public static final String request_id_management
      The configuration name of RequestIdHandlers.
      See Also:
    • authorization_header

      public static final String authorization_header
      The name of the HTTP header for standard HTTP basic authorization
      See Also:
    • 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:
    • content_type

      public static final String content_type
      The name of the Content-Type HTTP header
      See Also:
    • accept

      public static final String accept
      The name of the Accept HTTP header
      See Also:
    • allow

      public static final String allow
      The name of the Allow HTTP header
      See Also:
    • plain_text

      public static final String plain_text
      jar The name of the XML media type.
      See Also:
    • application_xml

      public static final String application_xml
      The name of the XML media type.
      See Also:
    • application_xhtml

      public static final String application_xhtml
      The name of the XHTML media type.
      See Also:
    • application_json

      public static final String application_json
      The name of the Json media type.
      See Also:
    • application_republish_frequency_in_minutes

      public static final int application_republish_frequency_in_minutes
      The default application republish frequency in minutes.
      See Also:
  • Constructor Details

    • Constants

      public Constants()