Package ej.hoka.http

Class Config


  • public final class Config
    extends java.lang.Object
    Load and provide server configuration form hoka.properties on the classpath.
    • Method Detail

      • getInstance

        public static Config getInstance()
        Gets the configuration instance.
        Returns:
        the configuration instance
      • getBufferSize

        public int getBufferSize()
        Gets the buffer size.
        Returns:
        buffer size
      • getLoggerLevel

        public java.lang.String getLoggerLevel()
        Gets the log level.
        Returns:
        log level
      • getLoggerClassName

        @Nullable
        public java.lang.String getLoggerClassName()
        Gets the logger class name.
        Returns:
        logger class name