Package ej.hoka.http
Class Config
- java.lang.Object
-
- ej.hoka.http.Config
-
public final class Config extends java.lang.ObjectLoad and provide server configuration form hoka.properties on the classpath.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetBufferSize()Gets the buffer size.static ConfiggetInstance()Gets the configuration instance.java.lang.StringgetLoggerClassName()Gets the logger class name.java.lang.StringgetLoggerLevel()Gets the log level.
-
-
-
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
-
-