クラスの使用
org.springframework.http.codec.ServerSentEvent
パッケージ
説明
リアクティブクライアントとサーバーサブパッケージの両方の基盤を提供します。
org.springframework.http.codec 内の ServerSentEvent 使用
org.springframework.web.reactive.function 内の ServerSentEvent 使用
修飾子と型メソッド説明static <T,
S extends Publisher<ServerSentEvent<T>>>
BodyInserter<S,ServerHttpResponse> BodyInserters.fromServerSentEvents
(S eventsPublisher) 指定されたServerSentEvent
パブリッシャーを書き込むインサーター。