Package org.languagetool.server
Class HTTPSServerConfig
- java.lang.Object
-
- org.languagetool.server.HTTPServerConfig
-
- org.languagetool.server.HTTPSServerConfig
-
public class HTTPSServerConfig extends HTTPServerConfig
- Since:
- 2.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.languagetool.server.HTTPServerConfig
HTTPServerConfig.Mode
-
-
Field Summary
Fields Modifier and Type Field Description private java.io.File
keystore
private java.lang.String
keyStorePassword
-
Fields inherited from class org.languagetool.server.HTTPServerConfig
abTest, allowOriginUrl, blockedReferrers, cacheSize, cacheTTLSeconds, dbDriver, dbLogging, dbPassword, dbUrl, dbUsername, DEFAULT_HOST, DEFAULT_PORT, disabledRuleIds, fasttextBinary, fasttextModel, globalConfig, hiddenMatchesLanguages, hiddenMatchesServer, hiddenMatchesServerFailTimeout, hiddenMatchesServerTimeout, ipFingerprintFactor, LANGUAGE_MODEL_OPTION, languageModelDir, maxCheckThreads, maxCheckTimeMillis, maxCheckTimeWithApiKeyMillis, maxErrorsPerWordRate, maxPipelinePoolSize, maxSpellingSuggestions, maxTextHardLength, maxTextLength, maxTextLengthWithApiKey, maxWorkQueueSize, mode, neuralNetworkModelDir, NN_MODEL_OPTION, pipelineCaching, pipelineExpireTime, pipelinePrewarming, port, prometheusMonitoring, prometheusPort, publicAccess, requestLimit, requestLimitInBytes, requestLimitPeriodInSeconds, rulesConfigFile, secretTokenKey, serverURL, skipLoggingChecks, skipLoggingRuleMatches, slowRuleLoggingThreshold, timeoutRequestLimit, trustXForwardForHeader, verbose, WORD2VEC_MODEL_OPTION, word2vecModelDir
-
-
Constructor Summary
Constructors Constructor Description HTTPSServerConfig(int serverPort, boolean verbose, java.io.File keystore, java.lang.String keyStorePassword)
HTTPSServerConfig(int serverPort, boolean verbose, java.io.File keystore, java.lang.String keyStorePassword, int requestLimit, int requestLimitPeriodInSeconds)
HTTPSServerConfig(java.io.File keystore, java.lang.String keyStorePassword)
HTTPSServerConfig(java.lang.String[] args)
Parse command line options and load settings from property file.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) java.io.File
getKeystore()
(package private) java.lang.String
getKeyStorePassword()
-
Methods inherited from class org.languagetool.server.HTTPServerConfig
getAbTest, getAllowOriginUrl, getBlockedReferrers, getCacheSize, getCacheTTLSeconds, getDatabaseDriver, getDatabaseLogging, getDatabasePassword, getDatabaseUrl, getDatabaseUsername, getDisabledRuleIds, getFasttextBinary, getFasttextModel, getHiddenMatchesLanguages, getHiddenMatchesServer, getHiddenMatchesServerFailTimeout, getHiddenMatchesServerTimeout, getIpFingerprintFactor, getLanguageModelDir, getMaxCheckThreads, getMaxCheckTimeMillis, getMaxCheckTimeWithApiKeyMillis, getMaxErrorsPerWordRate, getMaxPipelinePoolSize, getMaxSpellingSuggestions, getMaxTextHardLength, getMaxTextLength, getMaxTextLengthWithApiKey, getMaxWorkQueueSize, getMode, getNeuralNetworkModelDir, getOptionalProperty, getPipelineExpireTime, getPort, getPrometheusPort, getProperty, getRequestLimit, getRequestLimitInBytes, getRequestLimitPeriodInSeconds, getRulesConfigFile, getSecretTokenKey, getServerURL, getSlowRuleLoggingThreshold, getTimeoutRequestLimit, getTrustXForwardForHeader, getWord2VecModelDir, isPipelineCachingEnabled, isPipelinePrewarmingEnabled, isPrometheusMonitoring, isPublicAccess, isSkipLoggingChecks, isSkipLoggingRuleMatches, isVerbose, setAbTest, setAllowOriginUrl, setBlockedReferrers, setCacheSize, setCacheTTLSeconds, setDatabaseDriver, setDatabaseLogging, setDatabasePassword, setDatabaseUrl, setDatabaseUsername, setFasttextBinary, setFasttextModel, setLanguageModelDirectory, setMaxCheckThreads, setMaxCheckTimeMillis, setMaxPipelinePoolSize, setMaxTextHardLength, setMaxTextLength, setPipelineCaching, setPipelineExpireTime, setPipelinePrewarming, setSecretTokenKey, setServerURL, setTrustXForwardForHeader
-
-
-
-
Constructor Detail
-
HTTPSServerConfig
public HTTPSServerConfig(java.io.File keystore, java.lang.String keyStorePassword)
- Parameters:
keystore
- a Java keystore file as created with the keytool commandkeyStorePassword
- the password for the keystore
-
HTTPSServerConfig
public HTTPSServerConfig(int serverPort, boolean verbose, java.io.File keystore, java.lang.String keyStorePassword)
- Parameters:
serverPort
- the port to bind toverbose
- when set to true, the input text will be logged in case there is an exceptionkeystore
- a Java keystore file as created with the keytool commandkeyStorePassword
- the password for the keystore
-
HTTPSServerConfig
HTTPSServerConfig(int serverPort, boolean verbose, java.io.File keystore, java.lang.String keyStorePassword, int requestLimit, int requestLimitPeriodInSeconds)
- Parameters:
serverPort
- the port to bind toverbose
- when set to true, the input text will be logged in case there is an exceptionkeystore
- a Java keystore file as created with the keytool commandkeyStorePassword
- the password for the keystore- Since:
- 2.1
-
HTTPSServerConfig
HTTPSServerConfig(java.lang.String[] args)
Parse command line options and load settings from property file.
-
-