public class SpincastConfigDefault extends ConfigFinder implements SpincastConfig
ConfigFinder.ConfigFinderBuilder| Modifier and Type | Field and Description |
|---|---|
static String |
ENVIRONMENT_NAME_DEFAULT |
configs, logger, rawConfigs| Modifier | Constructor and Description |
|---|---|
protected |
SpincastConfigDefault(SpincastConfigPluginConfig spincastConfigPluginConfig)
Constructor
|
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, mergeMapspublic static final String ENVIRONMENT_NAME_DEFAULT
@Inject protected SpincastConfigDefault(SpincastConfigPluginConfig spincastConfigPluginConfig)
@Inject protected void init()
public String getEnvironmentName()
getEnvironmentName in interface SpincastConfigpublic int getHttpServerPort()
getHttpServerPort in interface SpincastConfigpublic int getHttpsServerPort()
getHttpsServerPort in interface SpincastConfigpublic String getHttpsKeyStorePath()
getHttpsKeyStorePath in interface SpincastConfigpublic String getHttpsKeyStoreType()
getHttpsKeyStoreType in interface SpincastConfigpublic String getHttpsKeyStoreStorePass()
getHttpsKeyStoreStorePass in interface SpincastConfigpublic String getHttpsKeyStoreKeyPass()
getHttpsKeyStoreKeyPass in interface SpincastConfigprotected URI getPublicURI()
public final String getPublicServerScheme()
getPublicServerScheme in interface SpincastConfigpublic final String getPublicServerHost()
getPublicServerHost in interface SpincastConfigpublic final int getPublicServerPort()
getPublicServerPort in interface SpincastConfigpublic String getPublicUrlBase()
getPublicUrlBase in interface SpincastConfigprotected String getHostForDefaultPublicServerSchemeHostPort()
public String getServerHost()
getServerHost in interface SpincastConfigpublic boolean isDebugEnabled()
isDebugEnabled in interface SpincastConfigpublic boolean isRoutesCaseSensitive()
isRoutesCaseSensitive in interface SpincastConfigpublic long getServerMaxRequestBodyBytes()
getServerMaxRequestBodyBytes in interface SpincastConfigpublic List<String> getContentTypesToSkipGziping()
getContentTypesToSkipGziping in interface SpincastConfigpublic File getWritableRootDir()
getSpincastWritableDirPath() to get
the path to use for the writable directory. If this
method returns null, a directory will be
created under the java.io.tmpdir directory.getWritableRootDir in interface SpincastConfigpublic File getTempDir()
getTempDir in interface SpincastConfigprotected String getSpincastWritableDirPath()
The path can be relative or absolute.
null to use the
default location (using the "java.io.tmpdir" folder).public Locale getDefaultLocale()
getDefaultLocale in interface SpincastConfigpublic TimeZone getDefaultTimeZone()
getDefaultTimeZone in interface SpincastConfigpublic int getRouteForwardingMaxNumber()
getRouteForwardingMaxNumber in interface SpincastConfigpublic int getDefaultRouteCacheFilterSecondsNbr()
getDefaultRouteCacheFilterSecondsNbr in interface SpincastConfigpublic boolean isDefaultRouteCacheFilterPrivate()
isDefaultRouteCacheFilterPrivate in interface SpincastConfigpublic Integer getDefaultRouteCacheFilterSecondsNbrCdns()
getDefaultRouteCacheFilterSecondsNbrCdns in interface SpincastConfigpublic boolean isWriteToDiskDynamicStaticResource()
isWriteToDiskDynamicStaticResource in interface SpincastConfigpublic boolean isAddDefaultTemplateVariablesFilter()
isAddDefaultTemplateVariablesFilter in interface SpincastConfigpublic int getDefaultTemplateVariablesFilterPosition()
getDefaultTemplateVariablesFilterPosition in interface SpincastConfigpublic StaticResourceCacheConfig getDefaultStaticResourceCacheConfig(boolean isDynamicResource)
getDefaultStaticResourceCacheConfig in interface SpincastConfigpublic int getMaxNumberOfKeysWhenConvertingMapToJsonObject()
getMaxNumberOfKeysWhenConvertingMapToJsonObject in interface SpincastConfigpublic int getKeyMaxLengthWhenConvertingMapToJsonObject()
getKeyMaxLengthWhenConvertingMapToJsonObject in interface SpincastConfigpublic int getJsonPathArrayIndexMax()
getJsonPathArrayIndexMax in interface SpincastConfigpublic boolean isValidateLocalhostHost()
isValidateLocalhostHost in interface SpincastConfigpublic boolean isEnableCookiesValidator()
isEnableCookiesValidator in interface SpincastConfigpublic String getQueryParamFlashMessageId()
getQueryParamFlashMessageId in interface SpincastConfigpublic String getCookieNameFlashMessage()
getCookieNameFlashMessage in interface SpincastConfigpublic String getCookieNameLocale()
getCookieNameLocale in interface SpincastConfigpublic String getCookieNameTimeZoneId()
getCookieNameTimeZoneId in interface SpincastConfigpublic String getCookiesValidatorCookieName()
getCookiesValidatorCookieName in interface SpincastConfigpublic String getSpincastModelRootVariableName()
getSpincastModelRootVariableName in interface SpincastConfigpublic String getValidationElementDefaultName()
getValidationElementDefaultName in interface SpincastConfigpublic DictionaryEntryNotFoundBehavior getDictionaryEntryNotFoundBehavior()
getDictionaryEntryNotFoundBehavior in interface SpincastConfigCopyright © 2018. All rights reserved.