インターフェースの使用
org.springframework.http.codec.ServerSentEvent.Builder
org.springframework.http.codec 内の ServerSentEvent.Builder 使用
修飾子と型メソッド説明static <T> ServerSentEvent.Builder<T>
ServerSentEvent.builder()
SseEvent
のビルダーを返します。static <T> ServerSentEvent.Builder<T>
ServerSentEvent.builder
(T data) 指定されたデータが入力されたSseEvent
のビルダーを返します。SSE コメントを設定します。data
フィールドの値を設定します。event
フィールドの値を設定します。id
フィールドの値を設定します。ServerSentEvent.Builder.retry
(DurationSE retry) retry
フィールドの値を設定します。