org.jboss.resteasy.reactive.server.jaxrs.SseImpl Maven / Gradle / Ivy
package org.jboss.resteasy.reactive.server.jaxrs;
import jakarta.ws.rs.sse.OutboundSseEvent;
import jakarta.ws.rs.sse.Sse;
import jakarta.ws.rs.sse.SseBroadcaster;
public class SseImpl implements Sse {
public static final SseImpl INSTANCE = new SseImpl();
@Override
public OutboundSseEvent.Builder newEventBuilder() {
return new OutboundSseEventImpl.BuilderImpl();
}
@Override
public SseBroadcaster newBroadcaster() {
return new SseBroadcasterImpl();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy