Class ResponseEntityResultHandler

All Implemented Interfaces:
Ordered, HandlerResultHandler

public class ResponseEntityResultHandler extends AbstractMessageWriterResultHandler implements HandlerResultHandler
Handles return values of type HttpEntity, ResponseEntity, HttpHeaders, ErrorResponse, and ProblemDetail.

By default the order for this result handler is set to 0. It is generally safe to place it early in the order as it looks for a concrete return type.

Rossen Stoyanchev