class LoadBalancerSpringResource {

    @ApiOperation("Get all load balancers")
    @GetMapping
    public GetAllLoadBalancersResult getAllLoadBalancers(@RequestParam MultiValueMap<String, String> queryParameters,
                                                         CallMetadataAuthentication authentication) {
        Page page = RestUtil.createPage(queryParameters);
        logPageNumberUsage(systemLog, authentication.getCallMetadata(), getClass().getSimpleName(), "getAllLoadBalancers", page);
        return Responses.fromSingleValueObservable(loadBalancerService.getAllLoadBalancers(
                GetAllLoadBalancersRequest.newBuilder().setPage(page).build(),
                authentication.getCallMetadata()
        ));
    }

    @Inject public  LoadBalancerSpringResource(LoadBalancerService loadBalancerService, SystemLogService systemLog);

}