Class ServerConfig


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

      • getDefMd5

        public static String getDefMd5()
      • getDefName

        public static String getDefName()
      • getDefNamespace

        public static String getDefNamespace()
      • getDefVersion

        public static 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[]
      • defaultFilters

        public ServerConfig.DefaultFilters defaultFilters​(int i)
        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