Java/JDI/jdi-mock-rest/src/main/java/com/epam/mock/web/ConfigurationHandlerController.java
@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.