public class AppConfigDefault extends SpincastConfigPropsFileBased implements AppConfig
| Modifier and Type | Field and Description |
|---|---|
static String |
APP_PROPERTIES_KEY_ADMIN_CREDENTIAL_KEYS |
static String |
APP_PROPERTIES_KEY_SERVER_SCHEME_HOST_PORT |
protected org.slf4j.Logger |
logger |
APP_PROPERTIES_KEY_ENVIRONMENT_IS_DEBUG, APP_PROPERTIES_KEY_ENVIRONMENT_NAME, APP_PROPERTIES_KEY_HTTP_SERVER_PORT, APP_PROPERTIES_KEY_HTTPS_SERVER_KEYSTORE_KEYPASS, APP_PROPERTIES_KEY_HTTPS_SERVER_KEYSTORE_PATH, APP_PROPERTIES_KEY_HTTPS_SERVER_KEYSTORE_STOREPASS, APP_PROPERTIES_KEY_HTTPS_SERVER_KEYSTORE_TYPE, APP_PROPERTIES_KEY_HTTPS_SERVER_PORT, APP_PROPERTIES_KEY_SERVER_HOST| Constructor and Description |
|---|
AppConfigDefault(org.spincast.core.utils.SpincastUtils spincastUtils,
String[] mainArgs,
SpincastConfigPropsFileBasedConfig pluginConfig) |
| 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.
|
int |
getHttpServerPort()
We use "44420" as the default port for the website, if
this port is not overriden in the .properties file.
|
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 |
getPublicServerSchemeHostPort() |
getAppProperties, getConfig, getConfig, getConfig, getConfigBoolean, getConfigBoolean, getConfigInteger, getConfigInteger, getConfigKeyEnvironmentIsDebug, getConfigKeyEnvironmentName, getConfigKeyHttpServerPort, getConfigKeyHttpsServerKeystoreKeyPass, getConfigKeyHttpsServerKeystorePath, getConfigKeyHttpsServerKeystoreStorePass, getConfigKeyHttpsServerKeystoreType, getConfigKeyHttpsServerPort, getConfigKeyServerHost, getEnvironmentName, getFoundPropertiesFilePath, getHttpsKeyStoreKeypass, getHttpsKeyStorePath, getHttpsKeyStoreStorePass, getHttpsKeyStoreType, getHttpsServerPort, getMainArgs, getPluginConfig, getQueryParamFlashMessageId, getServerHost, getSpecificAppPropertiesFilePath, getSpincastUtils, isDebugEnabled, lookForPropsFileSpecificPathcleanWritableSpincastDir, getContentTypesToSkipGziping, getCookieNameFlashMessage, getCookieNameLocale, getCookiesValidatorCookieName, getDefaultLocale, getDefaultRouteCacheFilterSecondsNbr, getDefaultRouteCacheFilterSecondsNbrCdns, getDefaultStaticResourceCacheConfig, getDefaultTemplateVariablesFilterPosition, getHostForDefaultPublicServerSchemeHostPort, getJsonPathArrayIndexMax, getKeyMaxLengthWhenConvertingMapToJsonObject, getMaxNumberOfKeysWhenConvertingMapToJsonObject, getPublicServerHost, getPublicServerPort, getPublicServerScheme, getPubliURI, getRouteForwardingMaxNumber, getServerMaxRequestBodyBytes, getSpincastModelRootVariableName, getSpincastTempDirName, getSpincastWritableDir, isAddDefaultTemplateVariablesFilter, isDefaultRouteCacheFilterPrivate, isDisableWriteToDiskDynamicStaticResource, isEnableCookiesValidator, isRoutesCaseSensitive, isValidateLocalhostHostclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetContentTypesToSkipGziping, getCookieNameFlashMessage, getCookieNameLocale, getCookiesValidatorCookieName, getDefaultLocale, getDefaultRouteCacheFilterSecondsNbr, getDefaultRouteCacheFilterSecondsNbrCdns, getDefaultStaticResourceCacheConfig, getDefaultTemplateVariablesFilterPosition, getEnvironmentName, getHttpsKeyStoreKeypass, getHttpsKeyStorePath, getHttpsKeyStoreStorePass, getHttpsKeyStoreType, getHttpsServerPort, getJsonPathArrayIndexMax, getKeyMaxLengthWhenConvertingMapToJsonObject, getMaxNumberOfKeysWhenConvertingMapToJsonObject, getPublicServerHost, getPublicServerPort, getPublicServerScheme, getQueryParamFlashMessageId, getRouteForwardingMaxNumber, getServerHost, getServerMaxRequestBodyBytes, getSpincastModelRootVariableName, getSpincastWritableDir, isAddDefaultTemplateVariablesFilter, isDebugEnabled, isDefaultRouteCacheFilterPrivate, isDisableWriteToDiskDynamicStaticResource, isEnableCookiesValidator, isRoutesCaseSensitive, isValidateLocalhostHostprotected final org.slf4j.Logger logger
public static final String APP_PROPERTIES_KEY_SERVER_SCHEME_HOST_PORT
public static final String APP_PROPERTIES_KEY_ADMIN_CREDENTIAL_KEYS
@Inject
public AppConfigDefault(org.spincast.core.utils.SpincastUtils spincastUtils,
@Nullable
String[] mainArgs,
@Nullable
SpincastConfigPropsFileBasedConfig pluginConfig)
public int getHttpServerPort()
getHttpServerPort in interface org.spincast.core.config.SpincastConfiggetHttpServerPort in class SpincastConfigPropsFileBasedpublic String getPublicServerSchemeHostPort()
getPublicServerSchemeHostPort in interface org.spincast.core.config.SpincastConfiggetPublicServerSchemeHostPort in class SpincastConfigPropsFileBasedpublic 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 AppConfigCopyright © 2016. All rights reserved.