Skip to content

No way to signal that controller has handled the request in Webflux [SPR-16087] #20636

@spring-projects-issues

Description

@spring-projects-issues

Dave Syer opened SPR-16087 and commented

Actually this appears to work:

@GetMapping("/flux")
@ResponseBody
Mono<Void> flux(ServerWebExchange exchange) throws Exception {
    // write the response using exchange ... 
}

but as far as I can tell it's undocumented, so I'm not sure if it is correct.


Affects: 5.0 GA

Referenced from: commits d8a7b96

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