Class TestResource


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

      Constructors 
      Constructor Description
      TestResource()  
    • Method Summary

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

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

      • TestResource

        public TestResource()
    • Method Detail

      • streamSseMvc

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