Class WebServerConfig

  • All Implemented Interfaces:

    
    public final class WebServerConfig
    
                        

    Configuration for the webserver

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final String getUsername() the username in case of authentication, default is empty (so no authentication)
      final Unit setUsername(String username) the username in case of authentication, default is empty (so no authentication)
      final String getPassword() the password in case of authentication, default is empty (so no authentication)
      final Unit setPassword(String password) the password in case of authentication, default is empty (so no authentication)
      final Integer getPort() the port, default is 8080
      final Unit setPort(Integer port) the port, default is 8080
      final String getHost() the host, default is 127.0.0.
      final Unit setHost(String host) the host, default is 127.0.0.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getUsername

         final String getUsername()

        the username in case of authentication, default is empty (so no authentication)

      • setUsername

         final Unit setUsername(String username)

        the username in case of authentication, default is empty (so no authentication)

      • getPassword

         final String getPassword()

        the password in case of authentication, default is empty (so no authentication)

      • setPassword

         final Unit setPassword(String password)

        the password in case of authentication, default is empty (so no authentication)