Package | Description |
---|---|
javax.ws.rs.sse |
Server-Sent Events related API.
|
Modifier and Type | Method | Description |
---|---|---|
void |
SseEventSource.register(Consumer<InboundSseEvent> onEvent) |
Register a
InboundSseEvent consumer. |
void |
SseEventSource.register(Consumer<InboundSseEvent> onEvent,
Consumer<Throwable> onError) |
Register
InboundSseEvent and Throwable consumers. |
void |
SseEventSource.register(Consumer<InboundSseEvent> onEvent,
Consumer<Throwable> onError,
Runnable onComplete) |
Register
InboundSseEvent and Throwable consumers and onComplete callback. |
Copyright (c) 2019 Eclipse Foundation. Licensed under Eclipse Foundation Specification License.