Package org.hertsstack.http
Class HertsHttpServer
- java.lang.Object
-
- org.hertsstack.http.HertsHttpServer
-
- All Implemented Interfaces:
HertsHttpEngine
public class HertsHttpServer extends java.lang.Object implements HertsHttpEngine
Herts http server implementation
-
-
Constructor Summary
Constructors Constructor Description HertsHttpServer(HertsHttpEngineBuilder builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HertsHttpEngineBuilder
builder()
void
start()
Start servervoid
stop()
Stop server
-
-
-
Constructor Detail
-
HertsHttpServer
public HertsHttpServer(HertsHttpEngineBuilder builder)
-
-
Method Detail
-
builder
public static HertsHttpEngineBuilder builder()
-
start
public void start()
Description copied from interface:HertsHttpEngine
Start server- Specified by:
start
in interfaceHertsHttpEngine
-
stop
public void stop() throws java.lang.Exception
Description copied from interface:HertsHttpEngine
Stop server- Specified by:
stop
in interfaceHertsHttpEngine
- Throws:
java.lang.Exception
- If fail shutdown
-
-