Package | Description |
---|---|
javax.ws.rs.sse |
Server-Sent Events related API.
|
org.jboss.resteasy.plugins.providers.sse | |
org.jboss.resteasy.plugins.providers.sse.client |
Modifier and Type | Method and 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. |
Modifier and Type | Class and Description |
---|---|
class |
InboundSseEventImpl |
Modifier and Type | Method and Description |
---|---|
InboundSseEvent |
SseEventInputImpl.read() |
Modifier and Type | Method and Description |
---|---|
void |
SseEventSourceImpl.register(Consumer<InboundSseEvent> onEvent) |
void |
SseEventSourceImpl.register(Consumer<InboundSseEvent> onEvent,
Consumer<Throwable> onError) |
void |
SseEventSourceImpl.register(Consumer<InboundSseEvent> onEvent,
Consumer<Throwable> onError,
Runnable onComplete) |
Copyright © 2019 JBoss by Red Hat. All rights reserved.