| Package | Description |
|---|---|
| javax.ws.rs.sse |
Server-Sent Events related API.
|
| org.jboss.resteasy.plugins.providers.sse |
| Modifier and Type | Method and Description |
|---|---|
OutboundSseEvent |
OutboundSseEvent.Builder.build()
Build
OutboundSseEvent. |
default OutboundSseEvent |
Sse.newEvent(String data)
Create new
OutboundSseEvent from provided data. |
default OutboundSseEvent |
Sse.newEvent(String name,
String data)
Create new
OutboundSseEvent from provided data and name. |
| Modifier and Type | Method and Description |
|---|---|
CompletionStage<?> |
SseBroadcaster.broadcast(OutboundSseEvent event)
Publish an SSE event to all registered
SseEventSink instances. |
CompletionStage<?> |
SseEventSink.send(OutboundSseEvent event)
Send an outbound Server-sent event to this sink.
|
| Modifier and Type | Class and Description |
|---|---|
class |
OutboundSseEventImpl |
| Modifier and Type | Method and Description |
|---|---|
OutboundSseEvent |
OutboundSseEventImpl.BuilderImpl.build() |
| Modifier and Type | Method and Description |
|---|---|
CompletionStage<?> |
SseBroadcasterImpl.broadcast(OutboundSseEvent event) |
long |
SseEventProvider.getSize(OutboundSseEvent t,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
CompletionStage<?> |
SseEventOutputImpl.send(OutboundSseEvent event) |
protected void |
SseEventOutputImpl.writeEvent(OutboundSseEvent event) |
void |
SseEventProvider.writeTo(OutboundSseEvent event,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
| Constructor and Description |
|---|
SseEventOutputImpl(MessageBodyWriter<OutboundSseEvent> writer) |
Copyright © 2019 JBoss by Red Hat. All rights reserved.