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

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

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