QAUtil.setLogLevel("org.xsocket", Level.FINE);
HttpServer server = new HttpServer(8876, new WebSocketHandler());
System.out.println("http://localhost:8876/websocket.html");
server.run();
}
public static class WebSocketHandler implements IWebSocketHandler, IHttpRequestHandler {