Uses of Interface
org.springframework.web.servlet.mvc.method.annotation.SseEmitter.SseEventBuilder
Package
Description
MVC infrastructure for annotation-based handler method processing, building on the
org.springframework.web.method.annotation
package.-
Uses of SseEmitter.SseEventBuilder in org.springframework.web.servlet.mvc.method.annotation
Modifier and TypeMethodDescriptionAdd an SSE "comment" line.Add an SSE "data" line.Add an SSE "data" line.static SseEmitter.SseEventBuilder
SseEmitter.event()
Add an SSE "id" line.Add an SSE "event" line.SseEmitter.SseEventBuilder.reconnectTime
(long reconnectTimeMillis) Add an SSE "retry" line.Modifier and TypeMethodDescriptionvoid
SseEmitter.send
(SseEmitter.SseEventBuilder builder) Send an SSE event prepared with the given builder.