Uses of Interface
jakarta.ws.rs.sse.InboundSseEvent
Package | Description |
---|---|
jakarta.ws.rs.sse |
Server-Sent Events related API.
|
-
Uses of InboundSseEvent in jakarta.ws.rs.sse
Method parameters in jakarta.ws.rs.sse with type arguments of type InboundSseEvent Modifier and Type Method Description void
SseEventSource. register(Consumer<InboundSseEvent> onEvent)
Register aInboundSseEvent
consumer.void
SseEventSource. register(Consumer<InboundSseEvent> onEvent, Consumer<Throwable> onError)
RegisterInboundSseEvent
andThrowable
consumers.void
SseEventSource. register(Consumer<InboundSseEvent> onEvent, Consumer<Throwable> onError, Runnable onComplete)
RegisterInboundSseEvent
andThrowable
consumers and onComplete callback.