Generated by
JDiff

Class org.springframework.http.ResponseEntity

Added Methods
BodyBuilder accepted() Creates a builder with an ACCEPTED status.
BodyBuilder created(URI) Creates a new builder with a HttpStatus#CREATED CREATED status and a location header set to the given URI.
HeadersBuilder<?> noContent() Creates a builder with a NO_CONTENT status.
BodyBuilder ok() Creates a builder with the status set to HttpStatus#OK OK.
ResponseEntity<T> ok(T) A shortcut for creating a {@code ResponseEntity} with the given body and status set to HttpStatus#OK OK.
BodyBuilder status(int) Creates a builder with the given status.
BodyBuilder status(HttpStatus) Creates a builder with the given status.