
public.javadoc.org.spincast.quickstart.config.AppConfigDefault.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spincast-website Show documentation
Show all versions of spincast-website Show documentation
Source code for the https://www.spincast.org website.
AppConfigDefault (org.spincast:spincast-framework 2.1.1 API)
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_DEFAULT
Fields inherited from class org.spincast.plugins.config.ConfigFinder
configs, logger, rawConfigs
-
Constructor Summary
Constructors
Constructor
Description
AppConfigDefault(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.
Name of the Cookie to to use save a
Flash Message id.
Name of the Cookie to use to
save the user Locale
.
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, 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(SpincastConfigPluginConfig spincastConfigPluginConfig,
boolean testingMode)
Constructor
-
Method Details
-
getAppName
Description copied from interface: AppConfig
A custom configuration : returns the
application name.
- Specified by:
getAppName
in interface AppConfig
-
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
Description copied from class: SpincastConfigDefault
You should override this config!!!!
- Specified by:
getPublicUrlBase
in interface SpincastConfig
- Overrides:
getPublicUrlBase
in class SpincastConfigDefault
-
getCookiesValidatorCookieName
Description copied from interface: SpincastConfig
Name of the Cookie to use to validate if
cookies are enabled.
The default is "spincast_cookies_enabled".
- Specified by:
getCookiesValidatorCookieName
in interface SpincastConfig
- Overrides:
getCookiesValidatorCookieName
in class SpincastConfigDefault
-
getCookieNameFlashMessage
Description copied from interface: SpincastConfig
Name of the Cookie to to use save a
Flash Message id.
- Specified by:
getCookieNameFlashMessage
in interface SpincastConfig
- Overrides:
getCookieNameFlashMessage
in class SpincastConfigDefault
-
getCookieNameLocale
Description copied from interface: SpincastConfig
Name of the Cookie to use to
save the user Locale
.
The default is "spincast_locale"
- Specified by:
getCookieNameLocale
in interface SpincastConfig
- Overrides:
getCookieNameLocale
in class SpincastConfigDefault
© 2015 - 2025 Weber Informatics LLC | Privacy Policy