Package org.roboquant.server
Class WebServerConfig
-
- All Implemented Interfaces:
public final class WebServerConfigConfiguration for the webserver
-
-
Constructor Summary
Constructors Constructor Description WebServerConfig(String username, String password, Integer port, String host)
-
Method Summary
Modifier and Type Method Description final StringgetUsername()the username in case of authentication, default is empty (so no authentication) final UnitsetUsername(String username)the username in case of authentication, default is empty (so no authentication) final StringgetPassword()the password in case of authentication, default is empty (so no authentication) final UnitsetPassword(String password)the password in case of authentication, default is empty (so no authentication) final IntegergetPort()the port, default is 8080 final UnitsetPort(Integer port)the port, default is 8080 final StringgetHost()the host, default is 127.0.0. final UnitsetHost(String host)the host, default is 127.0.0. -
-
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)
-
-
-
-