mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
e16a134075
ServerRequest: - awaitPrincipalOrNull is renamed to awaitPrincipal since there is no non-nullable variant ServerResponse: - new BodyBuilder.sse() extension - BodyBuilder.bodyToServerSentEvents is deprecated in favor of sse().body() - BodyBuilder.bodyAndAwait(flow: Flow<T>) is renamed to bodyFlowAndAwait to avoid shadowing of BodyBuilder.bodyAndAwait(body: Any) - BodyBuilder.bodyToServerSentEventsAndAwait is removed, sse().bodyAndAwait() should be used instead Closes gh-22899