Uses of Class
org.atmosphere.cpr.Meteor
Packages that use Meteor
-
Uses of Meteor in org.atmosphere.cpr
Methods in org.atmosphere.cpr that return MeteorModifier and TypeMethodDescriptionMeteor.addListener(AtmosphereResourceEventListener e) Add aAtmosphereResourceEventListenerwhich gets invoked when responses are resuming, when the remote client closes the connection or when the aBroadcaster.broadcast(java.lang.Object)operations occurs.Broadcast anObjectto all suspended responses.static MeteorMeteor.build(javax.servlet.http.HttpServletRequest r) Create aMeteorusing theHttpServletRequest.static MeteorMeteor.build(javax.servlet.http.HttpServletRequest req, List<BroadcastFilter> l, Serializer s) Create aMeteorusing theHttpServletRequestand use a list ofBroadcastFilterandSerializerfor writing the result of a broadcast operation theHttpServletResponse.static MeteorMeteor.build(javax.servlet.http.HttpServletRequest req, Broadcaster.SCOPE scope, List<BroadcastFilter> l, Serializer s) Create aMeteorusing theHttpServletRequestand use a list ofBroadcastFilterandSerializerfor writing the result of a broadcast operation theHttpServletResponse.static MeteorMeteor.build(javax.servlet.http.HttpServletRequest r, Serializer s) Create aMeteorusing theHttpServletRequestand use theSerializerfor writing the result of a broadcast operation using theHttpServletResponse.Meteor.delayBroadadcast(Object o, long period) Schedule a delayed broadcast, in seconds.static MeteorMeteor.lookup(javax.servlet.http.HttpServletRequest r) Retrieve an instance ofMeteorbased on theHttpServletRequest.Remove aAtmosphereResourceEventListenerwhich gets invoked when a response is resuming, when the remote client closes the connection or when the aBroadcaster.broadcast(java.lang.Object)operations occurs.Meteor.resume()Resume the underlyingHttpServletResponse.Meteor.resumeOnBroadcast(boolean resumeOnBroadcast) Resume the Meteor after the first broadcast operation.Schedule a periodic broadcast, in seconds.Meteor.suspend(long l) Suspend the underlyingHttpServletResponse.Suspend the underlyingHttpServletResponse.