Skip to content

Provide more ways to stream through ServerResponse for WebMvc functional endpoints #32710

Closed
@rstoyanchev

Description

@rstoyanchev

Currently it's possible to stream SSE events via ServerResponse.sse(Consumer<SseBuilder>), but no way to stream in any other format, comparable to the ResponseBodyEmitter base class of SseEmitter for annotated controller methods.

For extra context, the GraphQL spec is finalizing an incremental delivery feature that prioritizes some parts of the response data and sends them before others. Over HTTP this is expected to be a "mixed/multipart" stream.

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