Class HttpEntityMethodProcessor

All Implemented Interfaces:
HandlerMethodArgumentResolver, HandlerMethodReturnValueHandler

public class HttpEntityMethodProcessor extends AbstractMessageConverterMethodProcessor
Resolves HttpEntity and RequestEntity method argument values, as well as return values of type HttpEntity, ResponseEntity, ErrorResponse and ProblemDetail.

An HttpEntity return type has a specific purpose. Therefore, this handler should be configured ahead of handlers that support any return value type annotated with @ModelAttribute or @ResponseBody to ensure they don't take over.

Since:
3.1
Author:
Arjen Poutsma, Rossen Stoyanchev, Brian Clozel, Sam Brannen