I'm trying to map MyHttpHandler to custom url using grizzly 2.3 web server like this (that should be RESTfull url, like /entity/42/attribute
):
HttpServer httpServer = HttpServer.createSimpleServer();
ServerConfiguration config = httpServer.getServerConfiguration();
config.addHttpHandler(new MyHttpHandler(), "/entity/*/attribute");
It does not work. How can I do it in grizzly?