Uses of Interface
javax.ws.rs.sse.OutboundSseEvent
-
Packages that use OutboundSseEvent Package Description javax.ws.rs.sse Server-Sent Events related API. -
-
Uses of OutboundSseEvent in javax.ws.rs.sse
Methods in javax.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 javax.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.
-