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

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

        return new ResponseEntity<>(response.getBodyAnswer(), httpHeaders, HttpStatus.valueOf(response.getResult()));
    }
@ RequestMapping ( "/getUser" ) public ResponseEntity < String > getUser ( ) { ConfigurationHandler response = configurationHandlerService . getConfigForGetUser ( ) ; return new ResponseEntity <> ( response . getBodyAnswer ( ) , httpHeaders , HttpStatus . valueOf ( response . getResult ( ) ) ) ; }
Processes HTTP.GET request (URL: .../getUser).
@return ResponseEntity with string in JSON format with specified user or 'user no found' error.
Processes HTTP . GET request ( URL : ... / getUser ) .