Uses of Interface
org.springframework.web.servlet.function.ServerResponse.StreamBuilder
Packages that use 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
Methods in org.springframework.web.servlet.function that return ServerResponse.StreamBuilderModifier 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.Method parameters in org.springframework.web.servlet.function with type arguments of type ServerResponse.StreamBuilderModifier and TypeMethodDescriptionServerResponse.BodyBuilder.stream
(Consumer<ServerResponse.StreamBuilder> streamConsumer) Create a low-level streaming response; for SSE support, seeServerResponse.sse(Consumer)
.