|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.atmosphere.jersey.TrackableSession
public class TrackableSession
A TrackableSession stores TrackableResource that can be retrieved when the http header called
HeaderConfig.X_ATMOSPHERE_TRACKING_ID is added to a request.
| Method Summary | |
|---|---|
static TrackableSession |
getDefault()
Return the default implementation of TrackableSession |
TrackableResource<? extends Trackable> |
lookup(String trackingID)
Return the TrackableResource associated with the trackingID |
TrackableResource<? extends Trackable> |
lookupAndWait(String trackingID)
Return the TrackableResource associated with the trackingID |
void |
track(TrackableResource<? extends Trackable> trackableResource)
Start tracking an TrackableResource |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static TrackableSession getDefault()
TrackableSession
TrackableSessionpublic void track(TrackableResource<? extends Trackable> trackableResource)
TrackableResource
trackableResource - a TrackableResourcepublic TrackableResource<? extends Trackable> lookup(String trackingID)
TrackableResource associated with the trackingID
trackingID - a unique token.
TrackableResource associated with the trackingIDpublic TrackableResource<? extends Trackable> lookupAndWait(String trackingID)
TrackableResource associated with the trackingID
trackingID - a unique token.
TrackableResource associated with the trackingID
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||