Skip to content

Custom async HandlerMethodReturnValueHandler should work with @ResponseBody [SPR-13083] #17674

@spring-projects-issues

Description

@spring-projects-issues

Rossen Stoyanchev opened SPR-13083 and commented

Currently custom return value handlers are registered after built-in ones. This works fine except when creating a custom return value handler to support a DeferredResult-like return type, for example the RxJava rx.Observable, in which case the custom return value handler should be called first and then when the async value is computed the @ResponseBody return value handling should take place.


Affects: 4.1.6

Referenced from: commits 210e10c

0 votes, 5 watchers

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions