Package com.yahoo.jdisc.http
Class ServerConfig
java.lang.Object
com.yahoo.config.Node
com.yahoo.config.InnerNode
com.yahoo.config.ConfigInstance
com.yahoo.jdisc.http.ServerConfig
public final class ServerConfig
extends com.yahoo.config.ConfigInstance
This class represents the root node of server
Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final classThis class represents server.connectionLogstatic final classThis class represents server.defaultFilters[]static final classThis class represents server.filter[]static final classThis class represents server.jmxstatic final classThis class represents server.metricstatic interface -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.yahoo.config.ConfigInstance
getDefName, getDefNamespace, serialize, serializeMethods inherited from class com.yahoo.config.InnerNode
equals, getAllDescendantLeafNodes, getChildren, getChildrenWithVectorsFlattened, hashCode, postInitialize, toStringMethods inherited from class com.yahoo.config.Node
clone
-
Field Details
-
CONFIG_DEF_MD5
- See Also:
-
CONFIG_DEF_NAME
- See Also:
-
CONFIG_DEF_NAMESPACE
- See Also:
-
CONFIG_DEF_SCHEMA
-
-
Constructor Details
-
ServerConfig
-
-
Method Details
-
getDefMd5
-
getDefName
-
getDefNamespace
-
developerMode
public boolean developerMode()- Returns:
- server.developerMode
-
responseCompressionLevel
public int responseCompressionLevel()- Returns:
- server.responseCompressionLevel
-
removeRawPostBodyForWwwUrlEncodedPost
public boolean removeRawPostBodyForWwwUrlEncodedPost()- Returns:
- server.removeRawPostBodyForWwwUrlEncodedPost
-
filter
- Returns:
- server.filter[]
-
filter
- Parameters:
i- the index of the value to return- Returns:
- server.filter[]
-
defaultFilters
- Returns:
- server.defaultFilters[]
-
defaultFilters
- Parameters:
i- the index of the value to return- Returns:
- server.defaultFilters[]
-
strictFiltering
public boolean strictFiltering()- Returns:
- server.strictFiltering
-
maxWorkerThreads
public int maxWorkerThreads()- Returns:
- server.maxWorkerThreads
-
minWorkerThreads
public int minWorkerThreads()- Returns:
- server.minWorkerThreads
-
stopTimeout
public double stopTimeout()- Returns:
- server.stopTimeout
-
jmx
- Returns:
- server.jmx
-
metric
- Returns:
- server.metric
-
connectionLog
- Returns:
- server.connectionLog
-