Class AppConfigDefault

java.lang.Object
org.spincast.plugins.config.ConfigFinder
org.spincast.plugins.config.SpincastConfigDefault
org.spincast.quickstart.config.AppConfigDefault
All Implemented Interfaces:
org.spincast.core.config.SpincastConfig, AppConfig

public class AppConfigDefault extends org.spincast.plugins.config.SpincastConfigDefault implements AppConfig
Implementation for the application's custom configurations.
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.spincast.plugins.config.ConfigFinder

    org.spincast.plugins.config.ConfigFinder.ConfigFinderBuilder
  • Field Summary

    Fields inherited from class org.spincast.plugins.config.SpincastConfigDefault

    ENVIRONMENT_NAME_DEFAULT

    Fields inherited from class org.spincast.plugins.config.ConfigFinder

    configs, logger, rawConfigs
  • Constructor Summary

    Constructors
    Constructor
    Description
    AppConfigDefault(org.spincast.plugins.config.SpincastConfigPluginConfig spincastConfigPluginConfig, boolean testingMode)
    Constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    A custom configuration : returns the application name.
    The root package of your application.
     
     
     
     

    Methods inherited from class org.spincast.plugins.config.SpincastConfigDefault

    getContentTypesToSkipGziping, getCookieNameTimeZoneId, getDefaultLocale, getDefaultRouteCacheFilterSecondsNbr, getDefaultRouteCacheFilterSecondsNbrCdns, getDefaultStaticResourceCacheConfig, getDefaultTemplateVariablesFilterPosition, getDefaultTimeZone, getDictionaryEntryNotFoundBehavior, getEnvironmentName, getHostForDefaultPublicServerSchemeHostPort, getHttpServerPort, getHttpsKeyStoreKeyPass, getHttpsKeyStorePath, getHttpsKeyStoreStorePass, getHttpsKeyStoreType, getHttpsServerPort, getJsonPathArrayIndexMax, getKeyMaxLengthWhenConvertingMapToJsonObject, getMaxNumberOfKeysWhenConvertingMapToJsonObject, getPublicServerHost, getPublicServerPort, getPublicServerScheme, getPublicURI, getQueryParamFlashMessageId, getRouteForwardingMaxNumber, getServerHost, getServerMaxRequestBodyBytes, getSpincastModelRootVariableName, getSpincastWritableDirPath, getTempDir, getValidationElementDefaultName, getWritableRootDir, init, isAddDefaultTemplateVariablesFilter, isDefaultRouteCacheFilterPrivate, isDevelopmentMode, isEnableCookiesValidator, isEnableHttp2, isRoutesCaseSensitive, isTestingMode, isValidateLocalhostHost, isWriteToDiskDynamicStaticResource

    Methods inherited from class org.spincast.plugins.config.ConfigFinder

    clearPrefixes, configure, expandMap, getAppJarDirectory, getAppRootDirectoryNoJar, getBigDecimal, getBigDecimal, getBigDecimalFromElement, getBigDecimalList, getBigDecimalList, getBoolean, getBoolean, getBooleanFromElement, getBooleanList, getBooleanList, getClasspathFilePath, getConfig, getConfig, getConfigFromMap, getConfigFromMap, getConfigList, getConfigList, getConfigs, getDate, getDate, getDateFromElement, getDateList, getDateList, getEnvironmentVariables, getEnvironmentVariablesConfigs, getEnvironmentVariablesPrefixes, getExternalFilePath, getInteger, getInteger, getIntegerFromElement, getIntegerList, getIntegerList, getLong, getLong, getLongFromElement, getLongList, getLongList, getMap, getMap, getMapList, getMapList, getRawConfig, getRawConfigs, getString, getString, getStringList, getStringList, getSystemPropertiesConfigs, getSystemPropertiesPrefixes, isEnvironmentVariablesStripPrefix, isExternalFileConfigsOverrideEnvironmentVariables, isSystemPropertiesStripPrefix, isThrowExceptionIfSpecifiedClasspathConfigFileIsNotFound, isThrowExceptionIfSpecifiedExternalConfigFileIsNotFound, loadYamlFileConfigs, mergeMaps

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.spincast.core.config.SpincastConfig

    getContentTypesToSkipGziping, getCookieNameTimeZoneId, getDefaultLocale, getDefaultRouteCacheFilterSecondsNbr, getDefaultRouteCacheFilterSecondsNbrCdns, getDefaultStaticResourceCacheConfig, getDefaultTemplateVariablesFilterPosition, getDefaultTimeZone, getDictionaryEntryNotFoundBehavior, getEnvironmentName, getHttpServerPort, getHttpsKeyStoreKeyPass, getHttpsKeyStorePath, getHttpsKeyStoreStorePass, getHttpsKeyStoreType, getHttpsServerPort, getJsonPathArrayIndexMax, getKeyMaxLengthWhenConvertingMapToJsonObject, getMaxNumberOfKeysWhenConvertingMapToJsonObject, getPublicServerHost, getPublicServerPort, getPublicServerScheme, getQueryParamFlashMessageId, getRouteForwardingMaxNumber, getServerHost, getServerMaxRequestBodyBytes, getSpincastModelRootVariableName, getTempDir, getValidationElementDefaultName, getWritableRootDir, isAddDefaultTemplateVariablesFilter, isDefaultRouteCacheFilterPrivate, isDevelopmentMode, isEnableCookiesValidator, isEnableHttp2, isRoutesCaseSensitive, isTestingMode, isValidateLocalhostHost, isWriteToDiskDynamicStaticResource
  • Constructor Details

    • AppConfigDefault

      @Inject public AppConfigDefault(org.spincast.plugins.config.SpincastConfigPluginConfig spincastConfigPluginConfig, boolean testingMode)
      Constructor
  • Method Details

    • getAppName

      public String getAppName()
      Description copied from interface: AppConfig
      A custom configuration : returns the application name.
      Specified by:
      getAppName in interface AppConfig
    • getAppRootPackage

      public String getAppRootPackage()
      Description copied from interface: AppConfig
      The root package of your application. Logback will configure a custom level for it.
      Specified by:
      getAppRootPackage in interface AppConfig
    • getPublicUrlBase

      public String getPublicUrlBase()
      Specified by:
      getPublicUrlBase in interface org.spincast.core.config.SpincastConfig
      Overrides:
      getPublicUrlBase in class org.spincast.plugins.config.SpincastConfigDefault
    • getCookiesValidatorCookieName

      public String getCookiesValidatorCookieName()
      Specified by:
      getCookiesValidatorCookieName in interface org.spincast.core.config.SpincastConfig
      Overrides:
      getCookiesValidatorCookieName in class org.spincast.plugins.config.SpincastConfigDefault
    • getCookieNameFlashMessage

      public String getCookieNameFlashMessage()
      Specified by:
      getCookieNameFlashMessage in interface org.spincast.core.config.SpincastConfig
      Overrides:
      getCookieNameFlashMessage in class org.spincast.plugins.config.SpincastConfigDefault
    • getCookieNameLocale

      public String getCookieNameLocale()
      Specified by:
      getCookieNameLocale in interface org.spincast.core.config.SpincastConfig
      Overrides:
      getCookieNameLocale in class org.spincast.plugins.config.SpincastConfigDefault