Package io.activej.launchers.http
Class HttpServerLauncher
java.lang.Object
io.activej.launcher.Launcher
io.activej.launchers.http.HttpServerLauncher
public abstract class HttpServerLauncher
extends io.activej.launcher.Launcher
Preconfigured Http server launcher.
- See Also:
Launcher
-
Field Summary
Fields Modifier and Type Field Description static StringPROPERTIES_FILE -
Constructor Summary
Constructors Constructor Description HttpServerLauncher() -
Method Summary
Modifier and Type Method Description protected io.activej.inject.module.ModulegetBusinessLogicModule()Override this method to supply your launcher business logic.protected io.activej.inject.module.ModulegetModule()static voidmain(String[] args)protected voidrun()Methods inherited from class io.activej.launcher.Launcher
awaitShutdown, createInjector, createInjector, getApplicationError, getArgs, getCompleteFuture, getDuration, getDurationOfRun, getDurationOfStart, getDurationOfStop, getInstantOfComplete, getInstantOfLaunch, getInstantOfRun, getInstantOfStart, getInstantOfStop, getMainThread, getOverrideModule, getRunFuture, getStartFuture, launch, onInit, onStart, onStop, shutdown, testInjector
-
Field Details
-
PROPERTIES_FILE
- See Also:
- Constant Field Values
-
-
Constructor Details
-
HttpServerLauncher
public HttpServerLauncher()
-
-
Method Details
-
getModule
protected final io.activej.inject.module.Module getModule()- Overrides:
getModulein classio.activej.launcher.Launcher
-
getBusinessLogicModule
protected io.activej.inject.module.Module getBusinessLogicModule()Override this method to supply your launcher business logic. -
run
- Specified by:
runin classio.activej.launcher.Launcher- Throws:
Exception
-
main
- Throws:
Exception
-