Uses of Interface
org.springframework.http.codec.ServerSentEvent.Builder
Package
Description
-
Uses of ServerSentEvent.Builder in org.springframework.http.codec
Modifier and TypeMethodDescriptionstatic <T> ServerSentEvent.Builder<T>
ServerSentEvent.builder()
Return a builder for aServerSentEvent
.static <T> ServerSentEvent.Builder<T>
ServerSentEvent.builder
(T data) Return a builder for aServerSentEvent
, populated with the given data.Set SSE comment.Set the value of thedata
field.Set the value of theevent
field.Set the value of theid
field.Set the value of theretry
field.