HttpEntityMethodProcessor does not support HttpEntity/ResponseEntity subclasses [SPR-10207] #14840
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
status: backported
An issue that has been backported to maintenance branches
type: bug
A general bug
Milestone
Shelley J. Baker opened SPR-10207 and commented
The
HttpEntityMethodProcessor
'ssupportsReturnType
method explicitly looks forResponseEntity
/HttpEntity
classes, not whether they are assignable from those classes:This prevents HttpEntity/ResponseEntity subclasses from being processed. This method should be updated similar to the following, in order to support HTTP entity subclasses:
This problem was first described here in #14680.
Affects: 3.1.3
Issue Links:
Referenced from: commits a3e190e, 3a6e7b8
Backported to: 3.1.4
0 votes, 5 watchers
The text was updated successfully, but these errors were encountered: