public class SseAtmosphereEventSinkImpl extends Object implements javax.ws.rs.sse.SseEventSink
Constructor and Description |
---|
SseAtmosphereEventSinkImpl(javax.ws.rs.ext.MessageBodyWriter<javax.ws.rs.sse.OutboundSseEvent> writer,
org.atmosphere.cpr.AtmosphereResource resource) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
boolean |
isClosed() |
CompletionStage<?> |
send(javax.ws.rs.sse.OutboundSseEvent event) |
public SseAtmosphereEventSinkImpl(javax.ws.rs.ext.MessageBodyWriter<javax.ws.rs.sse.OutboundSseEvent> writer, org.atmosphere.cpr.AtmosphereResource resource)
public void close()
close
in interface AutoCloseable
close
in interface javax.ws.rs.sse.SseEventSink
public CompletionStage<?> send(javax.ws.rs.sse.OutboundSseEvent event)
send
in interface javax.ws.rs.sse.SseEventSink
public boolean isClosed()
isClosed
in interface javax.ws.rs.sse.SseEventSink
Apache CXF