Class HTTPSServerConfig
java.lang.Object
org.languagetool.server.HTTPServerConfig
org.languagetool.server.HTTPSServerConfig
- Since:
- 2.0
-
Field Summary
Fields inherited from class HTTPServerConfig
abTest, allowOriginUrl, blockedReferrers, cacheSize, cacheTTLSeconds, dbDriver, dbLogging, dbPassword, dbUrl, dbUsername, DEFAULT_HOST, DEFAULT_PORT, disabledRuleIds, fasttextBinary, fasttextModel, globalConfig, hiddenMatchesLanguages, hiddenMatchesServer, hiddenMatchesServerFailTimeout, hiddenMatchesServerTimeout, ipFingerprintFactor, languageModelDir, maxCheckThreads, maxCheckTimeMillis, maxCheckTimeWithApiKeyMillis, maxErrorsPerWordRate, maxPipelinePoolSize, maxSpellingSuggestions, maxTextHardLength, maxTextLength, maxTextLengthWithApiKey, maxWorkQueueSize, mode, neuralNetworkModelDir, pipelineCaching, pipelineExpireTime, pipelinePrewarming, port, prometheusMonitoring, prometheusPort, publicAccess, requestLimit, requestLimitInBytes, requestLimitPeriodInSeconds, rulesConfigFile, secretTokenKey, serverURL, skipLoggingChecks, skipLoggingRuleMatches, slowRuleLoggingThreshold, timeoutRequestLimit, trustXForwardForHeader, verbose, word2vecModelDir -
Constructor Summary
ConstructorsConstructorDescriptionHTTPSServerConfig(int serverPort, boolean verbose, File keystore, String keyStorePassword) HTTPSServerConfig(File keystore, String keyStorePassword) -
Method Summary
Methods inherited from class HTTPServerConfig
getAbTest, getAllowOriginUrl, getDisabledRuleIds, getFasttextBinary, getFasttextModel, getMaxPipelinePoolSize, getNeuralNetworkModelDir, getOptionalProperty, getPipelineExpireTime, getPort, getPrometheusPort, getProperty, getServerURL, getSlowRuleLoggingThreshold, isPipelineCachingEnabled, isPipelinePrewarmingEnabled, isPrometheusMonitoring, isPublicAccess, isSkipLoggingChecks, isVerbose, setAbTest, setAllowOriginUrl, setFasttextBinary, setFasttextModel, setLanguageModelDirectory, setMaxPipelinePoolSize, setMaxTextHardLength, setMaxTextLength, setPipelineCaching, setPipelineExpireTime, setPipelinePrewarming, setServerURL
-
Constructor Details
-
HTTPSServerConfig
-
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
-