|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HttpServer
An Simple Server implementation able to serve
Nested Class Summary | |
---|---|
static class |
HttpServer.Status
Statuses that the Server can assume. |
Method Summary | |
---|---|
HttpServer.Status |
getStatus()
Returns the current server status. |
void |
init(HttpServerConfiguration serverConfiguration)
Initializes the current server. |
void |
start()
Starts the current server instance. |
void |
stop()
Stops the current server execution. |
Method Detail |
---|
void init(HttpServerConfiguration serverConfiguration) throws InitException
serverConfig
- the server configuration
InitException
- if any error occurs while starting up.void start() throws RunException
RunException
- if any fatal error occurs while running.void stop() throws ShutdownException
ShutdownException
- if any error occurs while shutting down.HttpServer.Status getStatus()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |