@RequestMapping("/getUsers")
    public ResponseEntity<String> getUsers() {
        ConfigurationHandler response =  configurationHandlerService.getConfigForGetUsers();

        return new ResponseEntity<>(response.getBodyAnswer(), httpHeaders, HttpStatus.valueOf(response.getResult()));
    }
@RequestMapping("/getUsers")
    public ResponseEntity<String> getUsers() {
        ConfigurationHandler response =  configurationHandlerService.getConfigForGetUsers();

        return new ResponseEntity<>(response.getBodyAnswer(), httpHeaders, HttpStatus.valueOf(response.getResult()));
    }
@ RequestMapping ( "/getUsers" ) public ResponseEntity < String > getUsers ( ) { ConfigurationHandler response = configurationHandlerService . getConfigForGetUsers ( ) ; return new ResponseEntity <> ( response . getBodyAnswer ( ) , httpHeaders , HttpStatus . valueOf ( response . getResult ( ) ) ) ; }
Processes HTTP.GET request (URL: .../getUsers).
@return ResponseEntity with string in JSON format with all users.
Processes HTTP . GET request ( URL : ... / getUsers ) .