io.muserver.rest.JaxSseImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mu-server Show documentation
Show all versions of mu-server Show documentation
A simple but powerful web server framework
package io.muserver.rest;
import javax.ws.rs.sse.OutboundSseEvent;
import javax.ws.rs.sse.Sse;
import javax.ws.rs.sse.SseBroadcaster;
class JaxSseImpl implements Sse {
@Override
public OutboundSseEvent.Builder newEventBuilder() {
return new JaxOutboundSseEventBuilder();
}
@Override
public SseBroadcaster newBroadcaster() {
return new SseBroadcasterImpl();
}
}