public class WebServerConfig extends Object
| Modifier and Type | Field and Description |
|---|---|
private String |
address
The address the web server is bound to
|
private boolean |
enabled
Whether the web server is enabled or not
|
private int |
port
Port that this web server is bound to
|
| Constructor and Description |
|---|
WebServerConfig(boolean enabled,
String address,
int port) |
private boolean enabled
private String address
private int port
public WebServerConfig(boolean enabled,
String address,
int port)
public int getPort()
public String getAddress()
public boolean isEnabled()
Copyright © 2020. All rights reserved.