Package org.spincast.quickstart.config
Class AppConfigDefault
java.lang.Object
org.spincast.plugins.config.ConfigFinder
org.spincast.plugins.config.SpincastConfigDefault
org.spincast.quickstart.config.AppConfigDefault
- All Implemented Interfaces:
SpincastConfig,AppConfig
Implementation for the application's custom configurations.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.spincast.plugins.config.ConfigFinder
ConfigFinder.ConfigFinderBuilder -
Field Summary
Fields inherited from class org.spincast.plugins.config.SpincastConfigDefault
ENVIRONMENT_NAME_DEFAULTFields inherited from class org.spincast.plugins.config.ConfigFinder
configs, logger, rawConfigs -
Constructor Summary
ConstructorsConstructorDescriptionAppConfigDefault(SpincastConfigPluginConfig spincastConfigPluginConfig, boolean testingMode) Constructor -
Method Summary
Modifier and TypeMethodDescriptionA custom configuration : returns the application name.The root package of your application.Name of the Cookie to to use save a Flash Message id.Name of the Cookie to use to save the userLocale.Name of the Cookie to use to validate if cookies are enabled.You should override this config!!!!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, isWriteToDiskDynamicStaticResourceMethods 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, mergeMapsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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(SpincastConfigPluginConfig spincastConfigPluginConfig, boolean testingMode) Constructor
-
-
Method Details
-
getAppName
Description copied from interface:AppConfigA custom configuration : returns the application name.- Specified by:
getAppNamein interfaceAppConfig
-
getAppRootPackage
Description copied from interface:AppConfigThe root package of your application. Logback will configure a customlevelfor it.- Specified by:
getAppRootPackagein interfaceAppConfig
-
getPublicUrlBase
Description copied from class:SpincastConfigDefaultYou should override this config!!!!- Specified by:
getPublicUrlBasein interfaceSpincastConfig- Overrides:
getPublicUrlBasein classSpincastConfigDefault
-
getCookiesValidatorCookieName
Description copied from interface:SpincastConfigName of the Cookie to use to validate if cookies are enabled.The default is "spincast_cookies_enabled".
- Specified by:
getCookiesValidatorCookieNamein interfaceSpincastConfig- Overrides:
getCookiesValidatorCookieNamein classSpincastConfigDefault
-
getCookieNameFlashMessage
Description copied from interface:SpincastConfigName of the Cookie to to use save a Flash Message id.- Specified by:
getCookieNameFlashMessagein interfaceSpincastConfig- Overrides:
getCookieNameFlashMessagein classSpincastConfigDefault
-
getCookieNameLocale
Description copied from interface:SpincastConfigName of the Cookie to use to save the userLocale.The default is "spincast_locale"
- Specified by:
getCookieNameLocalein interfaceSpincastConfig- Overrides:
getCookieNameLocalein classSpincastConfigDefault
-