Uses of Interface
org.springframework.web.servlet.function.ServerResponse.StreamBuilder
Package
Description
Provides the types that make up Spring's functional web framework for Servlet environments.
-
Uses of ServerResponse.StreamBuilder in org.springframework.web.servlet.function
Modifier and TypeMethodDescriptionServerResponse.StreamBuilder.onComplete
(Runnable onCompletion) Register a callback to be invoked when the request completes.Register a callback to be invoked when an error occurs during processing.Register a callback to be invoked when a request times out.Write the given object to the response stream, without flushing.Write the given object to the response stream, without flushing.Modifier and TypeMethodDescriptionServerResponse.BodyBuilder.stream
(Consumer<ServerResponse.StreamBuilder> streamConsumer) Create a low-level streaming response; for SSE support, seeServerResponse.sse(Consumer)
.