protected Action info(AtmosphereResource r) {
final AtmosphereResponse response = r.getResponse();
final AtmosphereRequest request = r.getRequest();
response.headers().put("Content-Type", "application/json; charset=UTF-8");
ObjectNode json = new ObjectNode(JsonNodeFactory.instance);
json.put("websocket", supportWebSocket);
json.putArray("origins").add("*:*");
json.put("entropy", new Random().nextInt());
r.write(JsonCodec.encode(json));