class ProductResource {

    @GET
    @Path("/products")
    public Response findAll(@BeanParam PageableImpl pageable) {
        LOGGER.debug("REST request to get all Products");
        return Response.ok().entity(productService.findAll(pageable)).build();
    }

    @Inject public  ProductResource(ProductService productService);

}