class LoadBalancerResource {

    @GET
    @ApiOperation("Get all load balancers")
    public GetAllLoadBalancersResult getAllLoadBalancers(@Context UriInfo info) {
        Page page = RestUtil.createPage(info.getQueryParameters());
        CallMetadata callMetadata = resolveCallMetadata();
        logPageNumberUsage(systemLog, callMetadata, getClass().getSimpleName(), "getAllLoadBalancers", page);
        return Responses.fromSingleValueObservable(
                loadBalancerService.getAllLoadBalancers(GetAllLoadBalancersRequest.newBuilder().setPage(page).build(), callMetadata)
        );
    }

    @Inject public  LoadBalancerResource(LoadBalancerService loadBalancerService,
                                SystemLogService systemLog,
                                CallMetadataResolver callMetadataResolver);

}