public class AppConfigDefault extends SpincastConfigDefault implements AppConfig
ConfigFinder.ConfigFinderBuilder| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
logger |
ENVIRONMENT_NAME_DEFAULTconfigs, rawConfigs| Constructor and Description |
|---|
AppConfigDefault(SpincastConfigPluginConfig spincastConfigPluginConfig)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
List<org.spincast.shaded.org.apache.commons.lang3.tuple.Pair<String,String>> |
getAdminUsernamesPasswords()
A list of username/password that allow administrative
privileges.
|
String |
getEnvironmentName() |
int |
getHttpServerPort()
We use "44420" as the default port for the website, if
not overriden.
|
int |
getNbrNewsEntriesOnNewsPage()
The number of news entries on a regular "News" listing page.
|
int |
getNbrNewsEntriesPerFeedRequest()
The number of news entries for a feed request.
|
String |
getPublicUrlBase() |
String |
getQueryParamFlashMessageId() |
protected String |
getSpincastWritableDirPath() |
boolean |
isDebugEnabled() |
getContentTypesToSkipGziping, getCookieNameFlashMessage, getCookieNameLocale, getCookiesValidatorCookieName, getDefaultLocale, getDefaultRouteCacheFilterSecondsNbr, getDefaultRouteCacheFilterSecondsNbrCdns, getDefaultStaticResourceCacheConfig, getDefaultTemplateVariablesFilterPosition, getDictionaryEntryNotFoundBehavior, getHostForDefaultPublicServerSchemeHostPort, getHttpsKeyStoreKeyPass, getHttpsKeyStorePath, getHttpsKeyStoreStorePass, getHttpsKeyStoreType, getHttpsServerPort, getJsonPathArrayIndexMax, getKeyMaxLengthWhenConvertingMapToJsonObject, getMaxNumberOfKeysWhenConvertingMapToJsonObject, getPublicServerHost, getPublicServerPort, getPublicServerScheme, getPublicURI, getRouteForwardingMaxNumber, getServerHost, getServerMaxRequestBodyBytes, getSpincastModelRootVariableName, getTempDir, getValidationElementDefaultName, getWritableRootDir, init, isAddDefaultTemplateVariablesFilter, isDefaultRouteCacheFilterPrivate, isEnableCookiesValidator, isRoutesCaseSensitive, isValidateLocalhostHost, isWriteToDiskDynamicStaticResourceclearPrefixes, 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, mergeMapsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetContentTypesToSkipGziping, getCookieNameFlashMessage, getCookieNameLocale, getCookiesValidatorCookieName, getDefaultLocale, getDefaultRouteCacheFilterSecondsNbr, getDefaultRouteCacheFilterSecondsNbrCdns, getDefaultStaticResourceCacheConfig, getDefaultTemplateVariablesFilterPosition, getDictionaryEntryNotFoundBehavior, getHttpsKeyStoreKeyPass, getHttpsKeyStorePath, getHttpsKeyStoreStorePass, getHttpsKeyStoreType, getHttpsServerPort, getJsonPathArrayIndexMax, getKeyMaxLengthWhenConvertingMapToJsonObject, getMaxNumberOfKeysWhenConvertingMapToJsonObject, getPublicServerHost, getPublicServerPort, getPublicServerScheme, getRouteForwardingMaxNumber, getServerHost, getServerMaxRequestBodyBytes, getSpincastModelRootVariableName, getTempDir, getValidationElementDefaultName, getWritableRootDir, isAddDefaultTemplateVariablesFilter, isDefaultRouteCacheFilterPrivate, isEnableCookiesValidator, isRoutesCaseSensitive, isValidateLocalhostHost, isWriteToDiskDynamicStaticResource@Inject public AppConfigDefault(SpincastConfigPluginConfig spincastConfigPluginConfig)
public int getHttpServerPort()
getHttpServerPort in interface org.spincast.core.config.SpincastConfiggetHttpServerPort in class SpincastConfigDefaultpublic String getPublicUrlBase()
getPublicUrlBase in interface org.spincast.core.config.SpincastConfiggetPublicUrlBase in class SpincastConfigDefaultpublic String getEnvironmentName()
getEnvironmentName in interface org.spincast.core.config.SpincastConfiggetEnvironmentName in class SpincastConfigDefaultpublic boolean isDebugEnabled()
isDebugEnabled in interface org.spincast.core.config.SpincastConfigisDebugEnabled in class SpincastConfigDefaultprotected String getSpincastWritableDirPath()
getSpincastWritableDirPath in class SpincastConfigDefaultpublic int getNbrNewsEntriesOnNewsPage()
AppConfiggetNbrNewsEntriesOnNewsPage in interface AppConfigpublic int getNbrNewsEntriesPerFeedRequest()
AppConfiggetNbrNewsEntriesPerFeedRequest in interface AppConfigpublic List<org.spincast.shaded.org.apache.commons.lang3.tuple.Pair<String,String>> getAdminUsernamesPasswords()
AppConfiggetAdminUsernamesPasswords in interface AppConfigpublic String getQueryParamFlashMessageId()
getQueryParamFlashMessageId in interface org.spincast.core.config.SpincastConfiggetQueryParamFlashMessageId in class SpincastConfigDefaultCopyright © 2018. All rights reserved.