Class DomainResource
- java.lang.Object
-
- org.glassfish.jersey.examples.sse.jaxrs.DomainResource
-
-
Constructor Summary
Constructors Constructor Description DomainResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidgetProgress(int id, boolean testSource, SseEventSink eventSink)Responsepost(int testSources, Sse sse)
-
-
-
Method Detail
-
post
@Path("start") @POST public Response post(@DefaultValue("0") @QueryParam("testSources") int testSources, @Context Sse sse)
-
getProgress
@Path("process/{id}") @Produces("text/event-stream") @GET public void getProgress(@PathParam("id") int id, @DefaultValue("false") @QueryParam("testSource") boolean testSource, @Context SseEventSink eventSink)
-
-