org.glassfish.jersey.examples.sse
Class DomainResource
java.lang.Object
org.glassfish.jersey.examples.sse.DomainResource
@Path(value="domain")
public class DomainResource
- extends Object
- Author:
- Pavel Bucek (pavel.bucek at oracle.com)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DomainResource
public DomainResource()
post
@Path(value="start")
@POST
public Response post(@DefaultValue(value="0")@QueryParam(value="testSources")
int testSources)
getProgress
@Path(value="process/{id}")
@Produces(value="text/event-stream")
@GET
public EventOutput getProgress(@PathParam(value="id")
int id,
@DefaultValue(value="false")@QueryParam(value="testSource")
boolean testSource)
Copyright © 2007-2013 Oracle Corporation. All Rights Reserved. Use is subject to license terms.