Constructor and Description |
---|
WebServer(Locale locale,
PlanFiles files,
PlanConfig config,
Addresses addresses,
com.djrapitops.plugin.logging.console.PluginLogger logger,
ErrorLogger errorLogger,
RequestHandler requestHandler) |
Modifier and Type | Method and Description |
---|---|
void |
disable()
Shuts down the server - Async thread is closed with shutdown boolean.
|
void |
enable()
Performs enable actions for the subsystem.
|
int |
getPort() |
java.lang.String |
getProtocol() |
boolean |
isAuthRequired() |
boolean |
isEnabled() |
boolean |
isUsingHTTPS() |
@Inject public WebServer(Locale locale, PlanFiles files, PlanConfig config, Addresses addresses, com.djrapitops.plugin.logging.console.PluginLogger logger, ErrorLogger errorLogger, RequestHandler requestHandler)
public void enable()
SubSystem
public boolean isEnabled()
public void disable()
public java.lang.String getProtocol()
public boolean isUsingHTTPS()
public boolean isAuthRequired()
public int getPort()