|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jersey.devoxx.samples.ee6.atmosphere.TimerResource
public class TimerResource
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
| Constructor Summary | |
|---|---|
TimerResource()
|
|
| Method Summary | |
|---|---|
Broadcastable |
get()
|
void |
hardstop()
|
void |
start()
|
void |
stop()
|
void |
timeout(javax.ejb.Timer timer)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TimerResource()
| Method Detail |
|---|
@Suspend public Broadcastable get()
public void start()
public void timeout(javax.ejb.Timer timer)
public void stop()
public void hardstop()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||