@RequestMapping(method = RequestMethod.DELETE, value = "/clearUser")
    public ResponseEntity<Void> deleteUser() {
        ConfigurationHandler response =  configurationHandlerService.getConfigForDeleteUser();

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

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