Generated by
JDiff

Class org.springframework.http.ResponseEntity

Added Methods
ResponseEntity<T> of(Optional<T>) A shortcut for creating a {@code ResponseEntity} with the given body and the HttpStatus#OK OK status, or an empty body and a HttpStatus#NOT_FOUND NOT FOUND status in case of a Optional#empty() parameter.