class OrderResource {

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

    @Inject public  OrderResource(OrderService orderService);

}