org.jersey.devoxx.samples.ee6.atmosphere
Class TimerResource
java.lang.Object
org.jersey.devoxx.samples.ee6.atmosphere.TimerResource
public class TimerResource
- extends Object
curl -N -v http://localhost:8080/atmosphere-ee6-1.0-SNAPSHOT/resources/timer
curl -X POST http://localhost:8080/atmosphere-ee6-1.0-SNAPSHOT/resources/timer/start
curl -X POST http://localhost:8080/atmosphere-ee6-1.0-SNAPSHOT/resources/timer/stop
curl -X POST http://localhost:8080/atmosphere-ee6-1.0-SNAPSHOT/resources/timer/hardstop
- Author:
- Paul Sandoz
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TimerResource
public TimerResource()
get
@Suspend
public Broadcastable get()
start
public void start()
timeout
public void timeout(javax.ejb.Timer timer)
stop
public void stop()
hardstop
public void hardstop()
Copyright © 2012. All Rights Reserved.