| Package | Description |
|---|---|
| org.atmosphere.cpr |
| Modifier and Type | Field and Description |
|---|---|
protected static java.util.concurrent.ConcurrentHashMap<AtmosphereResource,Meteor> |
Meteor.cache |
| Modifier and Type | Method and Description |
|---|---|
Meteor |
Meteor.addListener(AtmosphereResourceEventListener e)
Add a
AtmosphereResourceEventListener which gets invoked when
response are resuming, when the remote client close the connection or
when the a Broadcaster.broadcast(T) operations occurs. |
Meteor |
Meteor.broadcast(java.lang.Object o)
Broadcast an
Object to all suspended response. |
static Meteor |
Meteor.build(javax.servlet.http.HttpServletRequest r)
Create a
Meteor using the HttpServletRequest |
static Meteor |
Meteor.build(javax.servlet.http.HttpServletRequest req,
Broadcaster.SCOPE scope,
java.util.List<BroadcastFilter> l,
Serializer s)
Create a
Meteor using the HttpServletRequest and use a list of
BroadcastFilter and Serializer for writting the result
of a broadcast operation the HttpServletResponse. |
static Meteor |
Meteor.build(javax.servlet.http.HttpServletRequest req,
java.util.List<BroadcastFilter> l,
Serializer s)
Create a
Meteor using the HttpServletRequest and use a list of
BroadcastFilter and Serializer for writting the result
of a broadcast operation the HttpServletResponse. |
static Meteor |
Meteor.build(javax.servlet.http.HttpServletRequest r,
Serializer s)
Create a
Meteor using the HttpServletRequest and use the
Serializer for writting the result of a broadcast operation using
the HttpServletResponse |
Meteor |
Meteor.delayBroadadcast(java.lang.Object o,
long period)
Schedule a delayed broadcast, in seconds.
|
static Meteor |
Meteor.lookup(javax.servlet.http.HttpServletRequest r)
Retrieve an instance of
Meteor based on the HttpServletRequest |
Meteor |
Meteor.removeListener(AtmosphereResourceEventListener e)
Remove a
AtmosphereResourceEventListener which gets invoked when
response are resuming, when the remote client close the connection or
when the a Broadcaster.broadcast(T) operations occurs. |
Meteor |
Meteor.resume()
Resume the underlying
HttpServletResponse |
Meteor |
Meteor.resumeOnBroadcast(boolean resumeOnBroadcast)
Resume the Meteor after the first broadcast operation.
|
Meteor |
Meteor.schedule(java.lang.Object o,
long period)
Schedule a periodic broadcast, in seconds.
|
Meteor |
Meteor.suspend(long l)
Suspend the underlying
HttpServletResponse. |
Meteor |
Meteor.suspend(long l,
boolean outputComments)
Suspend the underlying
HttpServletResponse. |
Meteor |
Meteor.suspend(long timeout,
java.util.concurrent.TimeUnit timeunit)
Suspend the underlying
HttpServletResponse. |
Meteor |
Meteor.suspend(long timeout,
java.util.concurrent.TimeUnit timeunit,
boolean outputComments)
Suspend the underlying
HttpServletResponse. |
Copyright © 2018. All Rights Reserved.