インターフェースの使用
jakarta.ws.rs.sse.InboundSseEvent
InboundSseEvent を使用するパッケージ パッケージ 説明 jakarta.ws.rs.sse サーバー送信イベント関連の API。jakarta.ws.rs.sse 内の InboundSseEvent 使用
型 InboundSseEvent の型引数を持つ jakarta.ws.rs.sse のメソッドパラメーター 修飾子と型 メソッド 説明 voidSseEventSource. register(ConsumerSE<InboundSseEvent> onEvent)InboundSseEventコンシューマーを登録します。voidSseEventSource. register(ConsumerSE<InboundSseEvent> onEvent, ConsumerSE<ThrowableSE> onError)InboundSseEventおよびThrowableSE コンシューマーを登録します。voidSseEventSource. register(ConsumerSE<InboundSseEvent> onEvent, ConsumerSE<ThrowableSE> onError, RunnableSE onComplete)InboundSseEventおよびThrowableSE コンシューマーと onComplete コールバックを登録します。