class AsyncResource {

    @GET
    @Path("/{action}/{id}")
    @Timed
    @ApiOperation("getResponse")
    public Response getResponse(@PathParam("action") final String action, @NotNull @PathParam("id") final String id) {
        return Response.ok(getData(new AsyncDataToken(action, id)))
                .build();
    }

    @Inject public  AsyncResource(CacheManager cacheManager);

}