Class SseController


  • @ServerContext
    @RestController("v2ApiSseController")
    public class SseController
    extends AbstractBaseController
    This controller provides a Server Sent Event endpoint for messages pushed to the SsePushChannel
    • Constructor Detail

      • SseController

        @Autowired
        public SseController​(com.blueriq.component.api.push.channel.PushChannelRetriever pushChannel)
    • Method Detail

      • getEvents

        @GetMapping(path="/api/v2/push-messages")
        public reactor.core.publisher.Flux<org.springframework.http.codec.ServerSentEvent<String>> getEvents​(javax.servlet.http.HttpSession httpSession,
                                                                                                             @RequestParam(name="Last-Event-ID",required=false)
                                                                                                             String lastEventId)