Java/JDI/jdi-mock-rest/src/main/java/com/epam/mock/web/ConfigurationHandlerController.java
@RequestMapping(method = RequestMethod.PUT, value = "/updateUser")
    public ResponseEntity<Void> updateUser() {
        ConfigurationHandler response =  configurationHandlerService.getConfigForUpdateUser();

        return new ResponseEntity<>(HttpStatus.valueOf(response.getResult()));
    }
@RequestMapping(method = RequestMethod.PUT, value = "/updateUser")
    public ResponseEntity<Void> updateUser() {
        ConfigurationHandler response =  configurationHandlerService.getConfigForUpdateUser();

        return new ResponseEntity<>(HttpStatus.valueOf(response.getResult()));
    }
@ RequestMapping ( method = RequestMethod . PUT , value = "/updateUser" ) public ResponseEntity < Void > updateUser ( ) { ConfigurationHandler response = configurationHandlerService . getConfigForUpdateUser ( ) ; return new ResponseEntity <> ( HttpStatus . valueOf ( response . getResult ( ) ) ) ; }
Processes HTTP.PUT request (URL: .../updateUser).
@return ResponseEntity with http status result (success or not).
Processes HTTP . PUT request ( URL : ... / updateUser ) .