Uses of Interface
jakarta.ws.rs.sse.OutboundSseEvent
Package | Description |
---|---|
jakarta.ws.rs.sse |
Server-Sent Events related API.
|
-
Uses of OutboundSseEvent in jakarta.ws.rs.sse
Methods in jakarta.ws.rs.sse that return OutboundSseEvent Modifier and Type Method Description OutboundSseEvent
OutboundSseEvent.Builder. build()
BuildOutboundSseEvent
.default OutboundSseEvent
Sse. newEvent(String data)
Create newOutboundSseEvent
from provided data.default OutboundSseEvent
Sse. newEvent(String name, String data)
Create newOutboundSseEvent
from provided data and name.Methods in jakarta.ws.rs.sse with parameters of type OutboundSseEvent Modifier and Type Method Description CompletionStage<?>
SseBroadcaster. broadcast(OutboundSseEvent event)
Publish an SSE event to all registeredSseEventSink
instances.CompletionStage<?>
SseEventSink. send(OutboundSseEvent event)
Send an outbound Server-sent event to this sink.