Closes gh-28647
@ -2975,7 +2975,7 @@ configure or customize message writing.
public ResponseEntity<String> handle() {
String body = ... ;
String etag = ... ;
return ResponseEntity.ok().eTag(etag).build(body);
return ResponseEntity.ok().eTag(etag).body(body);
}
----
[source,kotlin,indent=0,subs="verbatim,quotes",role="secondary"]
@ -3386,7 +3386,7 @@ See <<mvc-ann-jackson>> for details.