router.attach("/" + QUERIES, createQueriesRouter(c));
router.attach("/" + BEGIN, BeginTxnResource.class);
router.attach("/" + COMMIT, CommitTxnResource.class);
router.attach("/" + ROLLBACK, RollbackTxnResource.class);
router.attach("/" + PING, PingConnectionResource.class);
router.attach("", new QueryParser(c, new QueryTypeRouter(c, ConnectionResource.class)));
return router;
}