Class ServerConfig


  • public final class ServerConfig
    extends com.yahoo.config.ConfigInstance
    This class represents the root node of server Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
    • Field Detail

      • CONFIG_DEF_NAMESPACE

        public static final java.lang.String CONFIG_DEF_NAMESPACE
        See Also:
        Constant Field Values
      • CONFIG_DEF_VERSION

        public static final java.lang.String CONFIG_DEF_VERSION
        See Also:
        Constant Field Values
      • CONFIG_DEF_SCHEMA

        public static final java.lang.String[] CONFIG_DEF_SCHEMA
    • Method Detail

      • getDefMd5

        public static java.lang.String getDefMd5()
      • getDefName

        public static java.lang.String getDefName()
      • getDefNamespace

        public static java.lang.String getDefNamespace()
      • getDefVersion

        public static java.lang.String getDefVersion()
      • developerMode

        public boolean developerMode()
        Returns:
        server.developerMode
      • responseCompressionLevel

        public int responseCompressionLevel()
        Returns:
        server.responseCompressionLevel
      • httpKeepAliveEnabled

        public boolean httpKeepAliveEnabled()
        Returns:
        server.httpKeepAliveEnabled
      • maxKeepAliveRequests

        public int maxKeepAliveRequests()
        Returns:
        server.maxKeepAliveRequests
      • removeRawPostBodyForWwwUrlEncodedPost

        public boolean removeRawPostBodyForWwwUrlEncodedPost()
        Returns:
        server.removeRawPostBodyForWwwUrlEncodedPost
      • filter

        public ServerConfig.Filter filter​(int i)
        Parameters:
        i - the index of the value to return
        Returns:
        server.filter[]
      • maxWorkerThreads

        public int maxWorkerThreads()
        Returns:
        server.maxWorkerThreads
      • stopTimeout

        public double stopTimeout()
        Returns:
        server.stopTimeout