protected ResponseEntity buildNotFoundResponseEntity ( final String message ) { return new ResponseEntity <> ( CollectionUtils . wrap ( "message" , message ) , HttpStatus . NOT_FOUND ) ; }
Build not found response entity response entity .