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:
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_DEFAULTFields inherited from class org.spincast.plugins.config.ConfigFinder
configs, logger, rawConfigs -
Constructor Summary
ConstructorsConstructorDescriptionAppConfigDefault(org.spincast.plugins.config.SpincastConfigPluginConfig spincastConfigPluginConfig, boolean testingMode) Constructor -
Method Summary
Modifier and TypeMethodDescriptionA 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, 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(org.spincast.plugins.config.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
- Specified by:
getPublicUrlBasein interfaceorg.spincast.core.config.SpincastConfig- Overrides:
getPublicUrlBasein classorg.spincast.plugins.config.SpincastConfigDefault
-
getCookiesValidatorCookieName
- Specified by:
getCookiesValidatorCookieNamein interfaceorg.spincast.core.config.SpincastConfig- Overrides:
getCookiesValidatorCookieNamein classorg.spincast.plugins.config.SpincastConfigDefault
-
getCookieNameFlashMessage
- Specified by:
getCookieNameFlashMessagein interfaceorg.spincast.core.config.SpincastConfig- Overrides:
getCookieNameFlashMessagein classorg.spincast.plugins.config.SpincastConfigDefault
-
getCookieNameLocale
- Specified by:
getCookieNameLocalein interfaceorg.spincast.core.config.SpincastConfig- Overrides:
getCookieNameLocalein classorg.spincast.plugins.config.SpincastConfigDefault
-