Package dev.voidframework.web.server
Class WebServer
java.lang.Object
dev.voidframework.web.server.WebServer
Web server.
-
Constructor Summary
ConstructorsConstructorDescriptionWebServer(com.typesafe.config.Config configuration, com.google.inject.Injector injector) Build a new instance. -
Method Summary
Modifier and TypeMethodDescriptionvoidStart the web server.voidStop the web server.
-
Constructor Details
-
WebServer
@Inject public WebServer(com.typesafe.config.Config configuration, com.google.inject.Injector injector) Build a new instance.- Parameters:
configuration- The application configurationinjector- The injector instance
-
-
Method Details
-
startWebServer
public void startWebServer()Start the web server. -
stopWebServer
public void stopWebServer()Stop the web server.
-