Пример #1
0
 protected static void stopServer() {
   server.stopServer();
 }
Пример #2
0
 protected static void startServer(final ResourceConfig resourceConfig, final URI baseUri) {
   server = NettyServerFactory.create(resourceConfig, baseUri);
   server.startServer();
 }