| Constructor and Description |
|---|
ApiServer(int port) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isRunning() |
void |
setApiServerHandlerFactory(ApiServerHandlerFactory apiServerHandlerFactory) |
void |
setApiServerInitializerFactory(ApiServerInitializerFactory apiServerInitializerFactory) |
void |
start() |
void |
stop() |
public void start()
throws InterruptedException
start in interface ServerInterruptedExceptionpublic void stop()
throws InterruptedException
stop in interface ServerInterruptedExceptionpublic void setApiServerInitializerFactory(ApiServerInitializerFactory apiServerInitializerFactory)
public void setApiServerHandlerFactory(ApiServerHandlerFactory apiServerHandlerFactory)
Copyright © 2015. All rights reserved.