Class SseResource


  • @Path("/sse")
    @Consumes("application/json")
    @Produces("application/json")
    @Controller
    public class SseResource
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      SseResource​(com.xebialabs.xlrelease.service.SseService sseService)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void subscribeToNotifications​(javax.ws.rs.sse.SseEventSink sink)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SseResource

        @Autowired
        public SseResource​(com.xebialabs.xlrelease.service.SseService sseService)
    • Method Detail

      • subscribeToNotifications

        @GET
        @Produces("text/event-stream")
        public void subscribeToNotifications​(@Context
                                             javax.ws.rs.sse.SseEventSink sink)