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.
Resolves a method parameter into an argument value from a given request.
A ModelAndViewContainer provides access to the model for the
request. A WebDataBinderFactory provides a way to create
a WebDataBinder instance when needed for data binding and
type conversion purposes.
Return the type of the value to be written to the response. Typically this is
a simple check via getClass on the value but if the value is null, then the
return type needs to be examined possibly including generic type determination