class ProductResource extends AbstractResource {

    @GET
    @Produces({MediaType.TEXT_HTML, MediaType.APPLICATION_JSON})
    @Path("/{name}")
    public Response get(@PathParam("name") final String name){
        LOG.info("Got a get product request.");

        final DbProduct dbProduct = getProductHandler().getProduct(name);
        final ProductView view = new ProductView(dbProduct);

        return Response.ok(view).build();
    }

    public  ProductResource(final RepositoryHandler repositoryHandler, final GrapesServerConfig configuration);

}