Uses of Interface
org.springframework.web.servlet.function.ServerResponse.SseBuilder
Package
Description
Provides the types that make up Spring's functional web framework for Servlet environments.
-
Uses of ServerResponse.SseBuilder in org.springframework.web.servlet.function
Modifier and TypeMethodDescriptionAdd an SSE comment.Add an SSE "event" line.Add an SSE "id" line.Add an SSE "retry" line.Modifier and TypeMethodDescriptionstatic ServerResponse
ServerResponse.sse
(Consumer<ServerResponse.SseBuilder> consumer) Create a server-sent event response.static ServerResponse
ServerResponse.sse
(Consumer<ServerResponse.SseBuilder> consumer, Duration timeout) Create a server-sent event response.