Package org.languagetool.server
Class HTTPSServerConfig
java.lang.Object
org.languagetool.server.HTTPServerConfig
org.languagetool.server.HTTPSServerConfig
- Since:
- 2.0
-
Nested Class Summary
Nested classes/interfaces inherited from class org.languagetool.server.HTTPServerConfig
HTTPServerConfig.Mode
-
Field Summary
FieldsFields 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
ConstructorsConstructorDescriptionHTTPSServerConfig
(int serverPort, boolean verbose, File keystore, String keyStorePassword) HTTPSServerConfig
(int serverPort, boolean verbose, File keystore, String keyStorePassword, int requestLimit, int requestLimitPeriodInSeconds) HTTPSServerConfig
(File keystore, String keyStorePassword) HTTPSServerConfig
(String[] args) Parse command line options and load settings from property file. -
Method Summary
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
-
Field Details
-
keystore
-
keyStorePassword
-
-
Constructor Details
-
HTTPSServerConfig
- Parameters:
keystore
- a Java keystore file as created with the keytool commandkeyStorePassword
- the password for the keystore
-
HTTPSServerConfig
- 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, File keystore, 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(String[] args) Parse command line options and load settings from property file.
-
-
Method Details