Constructor and Description |
---|
WebServer(Locale locale,
PlanFiles files,
PlanConfig config,
ServerInfo serverInfo,
com.djrapitops.plugin.logging.console.PluginLogger logger,
com.djrapitops.plugin.logging.error.ErrorHandler errorHandler,
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.
|
java.lang.String |
getAccessAddress() |
java.lang.String |
getProtocol() |
boolean |
isAuthRequired() |
boolean |
isEnabled() |
boolean |
isUsingHTTPS() |
@Inject public WebServer(Locale locale, PlanFiles files, PlanConfig config, ServerInfo serverInfo, com.djrapitops.plugin.logging.console.PluginLogger logger, com.djrapitops.plugin.logging.error.ErrorHandler errorHandler, RequestHandler requestHandler)
public void enable() throws EnableException
SubSystem
enable
in interface SubSystem
EnableException
- If an error occurred during enable and it is fatal to the subsystem.public boolean isEnabled()
public void disable()
public java.lang.String getProtocol()
public boolean isUsingHTTPS()
public boolean isAuthRequired()
public java.lang.String getAccessAddress()