|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use AtmosphereResource | |
|---|---|
| org.atmosphere.cache | |
| org.atmosphere.client | |
| org.atmosphere.cpr | |
| org.atmosphere.handler | |
| org.atmosphere.interceptor | |
| org.atmosphere.util | |
| org.atmosphere.websocket | |
| Uses of AtmosphereResource in org.atmosphere.cache |
|---|
| Methods in org.atmosphere.cache with parameters of type AtmosphereResource | |
|---|---|
UUIDBroadcasterCache.CacheMessage |
UUIDBroadcasterCache.addCacheCandidate(String broadcasterId,
AtmosphereResource r,
Object e)
For backward compatibility with 1.0.9 and lower, use the method above. |
void |
UUIDBroadcasterCache.addToCache(String broadcasterId,
AtmosphereResource r,
Object e)
|
void |
OnReconnectBroadcasterCache.addToCache(String id,
AtmosphereResource r,
Object e)
|
void |
BroadcasterCacheBase.addToCache(String id,
AtmosphereResource resource,
Object object)
Deprecated. Start tracking messages associated with AtmosphereResource from the cache |
void |
AbstractBroadcasterCache.addToCache(String id,
AtmosphereResource resource,
Object object)
Start tracking messages associated with AtmosphereResource from the cache |
abstract void |
BroadcasterCacheBase.cache(AtmosphereResource r,
BroadcasterCacheBase.CachedMessage cm)
Deprecated. Cache the last message broadcasted. |
void |
SessionBroadcasterCache.cache(String id,
AtmosphereResource r,
AbstractBroadcasterCache.CachedMessage cm)
Cache the last message broadcasted. |
void |
HeaderBroadcasterCache.cache(String id,
AtmosphereResource ar,
AbstractBroadcasterCache.CachedMessage cm)
Cache the last message broadcasted. |
abstract void |
AbstractBroadcasterCache.cache(String id,
AtmosphereResource r,
AbstractBroadcasterCache.CachedMessage cm)
Cache the last message broadcasted. |
List<Object> |
UUIDBroadcasterCache.retrieveFromCache(String broadcasterId,
AtmosphereResource r)
|
List<Object> |
OnReconnectBroadcasterCache.retrieveFromCache(String id,
AtmosphereResource r)
|
List<Object> |
BroadcasterCacheBase.retrieveFromCache(String id,
AtmosphereResource r)
Deprecated. Retrieve messages associated with AtmosphereResource |
List<Object> |
AbstractBroadcasterCache.retrieveFromCache(String id,
AtmosphereResource r)
Retrieve messages associated with AtmosphereResource |
abstract BroadcasterCacheBase.CachedMessage |
BroadcasterCacheBase.retrieveLastMessage(AtmosphereResource r)
Deprecated. Return the last message broadcasted to the AtmosphereResource. |
AbstractBroadcasterCache.CachedMessage |
SessionBroadcasterCache.retrieveLastMessage(String id,
AtmosphereResource r)
Return the last message broadcasted to the AtmosphereResource. |
AbstractBroadcasterCache.CachedMessage |
HeaderBroadcasterCache.retrieveLastMessage(String id,
AtmosphereResource ar)
Return the last message broadcasted to the AtmosphereResource. |
abstract AbstractBroadcasterCache.CachedMessage |
AbstractBroadcasterCache.retrieveLastMessage(String id,
AtmosphereResource r)
Return the last message broadcasted to the AtmosphereResource. |
| Uses of AtmosphereResource in org.atmosphere.client |
|---|
| Methods in org.atmosphere.client with parameters of type AtmosphereResource | |
|---|---|
BroadcastFilter.BroadcastAction |
TrackMessageSizeFilter.filter(AtmosphereResource r,
Object originalMessage,
Object message)
|
BroadcastFilter.BroadcastAction |
JSONPTransportFilter.filter(AtmosphereResource r,
Object message,
Object originalMessage)
Deprecated. |
Action |
TrackMessageSizeInterceptor.inspect(AtmosphereResource r)
|
Action |
MessageLengthInterceptor.inspect(AtmosphereResource r)
|
| Uses of AtmosphereResource in org.atmosphere.cpr |
|---|
| Classes in org.atmosphere.cpr with type parameters of type AtmosphereResource | |
|---|---|
interface |
AsyncSupport<E extends AtmosphereResource>
Atmosphere's supported WebServer must implement this interface in order to be auto detected by the AtmosphereFramework. |
| Classes in org.atmosphere.cpr that implement AtmosphereResource | |
|---|---|
class |
AtmosphereResourceImpl
AtmosphereResource implementation for supporting AtmosphereRequest
and AtmosphereResponse. |
| Fields in org.atmosphere.cpr declared as AtmosphereResource | |
|---|---|
protected AtmosphereResource |
DefaultBroadcaster.noOpsResource
|
| Fields in org.atmosphere.cpr with type parameters of type AtmosphereResource | |
|---|---|
protected ConcurrentHashMap<AtmosphereRequest,AtmosphereResource> |
AsynchronousProcessor.aliveRequests
|
protected static ConcurrentHashMap<AtmosphereResource,Meteor> |
Meteor.cache
|
protected ConcurrentLinkedQueue<AtmosphereResource> |
DefaultBroadcaster.resources
|
| Methods in org.atmosphere.cpr that return AtmosphereResource | |
|---|---|
AtmosphereResource |
AtmosphereResourceImpl.addEventListener(AtmosphereResourceEventListener e)
Add a AtmosphereResourceEventListener. |
AtmosphereResource |
AtmosphereResource.addEventListener(AtmosphereResourceEventListener e)
Add a AtmosphereResourceEventListener. |
AtmosphereResource |
AtmosphereResourceFactory.create(AtmosphereConfig config,
AtmosphereRequest request,
AtmosphereResponse response,
AsyncSupport<?> a)
Create an AtmosphereResourceImpl |
AtmosphereResource |
AtmosphereResourceFactory.create(AtmosphereConfig config,
AtmosphereResponse response,
AsyncSupport<?> a)
Create an AtmosphereResourceImpl |
AtmosphereResource |
AtmosphereResourceFactory.create(AtmosphereConfig config,
Broadcaster broadcaster,
AtmosphereRequest request,
AtmosphereResponse response,
AsyncSupport<?> a,
AtmosphereHandler handler)
Create an AtmosphereResourceImpl |
AtmosphereResource |
AtmosphereResourceFactory.create(AtmosphereConfig config,
Broadcaster broadcaster,
AtmosphereResponse response,
AsyncSupport<?> a,
AtmosphereHandler handler)
Create an AtmosphereResourceImpl |
AtmosphereResource |
AtmosphereResourceFactory.create(AtmosphereConfig config,
String uuid)
Create an AtmosphereResource associated with the uuid. |
AtmosphereResource |
AtmosphereResourceFactory.find(String uuid)
Find an AtmosphereResource based on its uuid() |
AtmosphereResource |
Meteor.getAtmosphereResource()
Return the underlying AtmosphereResource |
AtmosphereResource |
AtmosphereResourceEventImpl.getResource()
Return the AtmosphereResource associated with this event |
AtmosphereResource |
AtmosphereResourceEvent.getResource()
Return the AtmosphereResource associated with this event |
AtmosphereResource |
AtmosphereResourceImpl.notifyListeners()
Notify All AtmosphereResourceEventListener. |
AtmosphereResource |
AtmosphereResource.notifyListeners()
Notify All AtmosphereResourceEventListener. |
AtmosphereResource |
AtmosphereResourceImpl.notifyListeners(AtmosphereResourceEvent event)
Notify AtmosphereResourceEventListener. |
AtmosphereResource |
AtmosphereResource.notifyListeners(AtmosphereResourceEvent e)
Notify AtmosphereResourceEventListener. |
AtmosphereResource |
AtmosphereResourceImpl.padding(String padding)
Set the padding to use when flushing the response when transport equals 'streaming' See ApplicationConfig.STREAMING_PADDING_MODE
for more info. |
AtmosphereResource |
AtmosphereResource.padding(String padding)
Set the padding to use when flushing the response when transport equals 'streaming' See ApplicationConfig.STREAMING_PADDING_MODE
for more info. |
AtmosphereResource |
AtmosphereResourceFactory.remove(String uuid)
Remove the AtmosphereResource from all instance of Broadcaster |
AtmosphereResource |
AtmosphereResourceImpl.removeEventListener(AtmosphereResourceEventListener e)
Remove a AtmosphereResourceEventListener. |
AtmosphereResource |
AtmosphereResource.removeEventListener(AtmosphereResourceEventListener e)
Remove a AtmosphereResourceEventListener. |
AtmosphereResource |
AtmosphereResourceImpl.removeEventListeners()
Remove all AtmosphereResourceEventListener. |
AtmosphereResource |
AtmosphereResource.removeEventListeners()
Remove all AtmosphereResourceEventListener. |
AtmosphereResource |
AtmosphereResponse.resource()
The AtmosphereResource associated with this request. |
AtmosphereResource |
AtmosphereRequest.resource()
The AtmosphereResource associated with this request. |
AtmosphereResource |
AtmosphereResourceImpl.resume()
Complete the AtmosphereResponse and finish/commit it. |
AtmosphereResource |
AtmosphereResource.resume()
Complete the AtmosphereResponse and finish/commit it. |
AtmosphereResource |
AtmosphereResourceImpl.resumeOnBroadcast(boolean resumeOnBroadcast)
Set to true to resume the response once after the first broadcast. |
AtmosphereResource |
AtmosphereResource.resumeOnBroadcast(boolean resumeOnBroadcast)
Set to true to resume the response once after the first broadcast. |
AtmosphereResource |
AtmosphereResource.setBroadcaster(Broadcaster broadcaster)
Set the current Broadcaster. |
AtmosphereResource |
AtmosphereResourceImpl.setSerializer(Serializer s)
Set the Serializer used to write broadcasted object. |
AtmosphereResource |
AtmosphereResource.setSerializer(Serializer s)
Set the Serializer to use when write(java.io.OutputStream, java.lang.Object)
execute the operation. |
AtmosphereResource |
AtmosphereResourceImpl.suspend()
Suspend the AtmosphereResponse indefinitely. |
AtmosphereResource |
AtmosphereResource.suspend()
Suspend the AtmosphereResponse indefinitely. |
AtmosphereResource |
AtmosphereResourceImpl.suspend(long timeout)
Suspend the AtmosphereResponse. |
AtmosphereResource |
AtmosphereResource.suspend(long timeout)
Suspend the AtmosphereResponse. |
AtmosphereResource |
AtmosphereResourceImpl.suspend(long timeout,
boolean flushComment)
|
AtmosphereResource |
AtmosphereResource.suspend(long timeout,
boolean flushComment)
Suspend the AtmosphereResponse. |
AtmosphereResource |
AtmosphereResourceImpl.suspend(long timeout,
TimeUnit timeunit)
Suspend the AtmosphereResponse. |
AtmosphereResource |
AtmosphereResource.suspend(long timeout,
TimeUnit timeunit)
Suspend the AtmosphereResponse. |
AtmosphereResource |
AtmosphereResourceImpl.suspend(long timeout,
TimeUnit timeunit,
boolean flushComment)
Suspend the AtmosphereResponse. |
AtmosphereResource |
AtmosphereResource.suspend(long timeout,
TimeUnit timeunit,
boolean flushComment)
Suspend the AtmosphereResponse. |
AtmosphereResource |
AtmosphereResourceImpl.write(OutputStream os,
Object o)
Write the broadcasted object using the OutputStream. |
AtmosphereResource |
AtmosphereResource.write(OutputStream os,
Object o)
Write the Object using the OutputStream by invoking
the current Serializer. |
AtmosphereResource |
AtmosphereResourceImpl.writeOnTimeout(Object o)
Set a message that will be written when the resource times out. |
AtmosphereResource |
AtmosphereResource.writeOnTimeout(Object o)
Set a message that will be written when the resource times out. |
| Methods in org.atmosphere.cpr that return types with arguments of type AtmosphereResource | |
|---|---|
Collection<AtmosphereResource> |
DefaultBroadcaster.getAtmosphereResources()
Return an List of AtmosphereResource. |
Collection<AtmosphereResource> |
Broadcaster.getAtmosphereResources()
Return an List of AtmosphereResource. |
| Methods in org.atmosphere.cpr with parameters of type AtmosphereResource | ||
|---|---|---|
Broadcaster |
DefaultBroadcaster.addAtmosphereResource(AtmosphereResource r)
Add a AtmosphereResource to the list of item to be notified when
the Broadcaster.broadcast(T) is invoked. |
|
Broadcaster |
Broadcaster.addAtmosphereResource(AtmosphereResource resource)
Add a AtmosphereResource to the list of item to be notified when
the Broadcaster.broadcast(T) is invoked. |
|
void |
BroadcasterConfig.DefaultBroadcasterCache.addToCache(String id,
AtmosphereResource r,
Object o)
|
|
void |
BroadcasterCache.addToCache(String id,
AtmosphereResource r,
Object e)
Start tracking messages associated with AtmosphereResource from the cache |
|
|
DefaultBroadcaster.broadcast(T msg,
AtmosphereResource r)
Broadcast the Object to all suspended response, e.g. |
|
|
Broadcaster.broadcast(T o,
AtmosphereResource resource)
Broadcast the Object to all suspended response, e.g. |
|
protected void |
DefaultBroadcaster.broadcastOnResume(AtmosphereResource r)
|
|
void |
DefaultBroadcaster.cacheLostMessage(AtmosphereResource r)
Cache the message because an unexpected exception occurred. |
|
void |
DefaultBroadcaster.cacheLostMessage(AtmosphereResource r,
boolean force)
Cache the message because an unexpected exception occurred. |
|
void |
DefaultBroadcaster.cacheLostMessage(AtmosphereResource r,
DefaultBroadcaster.AsyncWriteToken token)
Cache the message because an unexpected exception occurred. |
|
void |
DefaultBroadcaster.cacheLostMessage(AtmosphereResource r,
DefaultBroadcaster.AsyncWriteToken token,
boolean force)
Cache the message because an unexpected exception occurred. |
|
protected boolean |
DefaultBroadcaster.checkCachedAndPush(AtmosphereResource r,
AtmosphereResourceEvent e)
|
|
AtmosphereResourceImpl |
AtmosphereResourceImpl.cloneState(AtmosphereResource r)
|
|
BroadcastFilter.BroadcastAction |
PerRequestBroadcastFilter.filter(AtmosphereResource atmosphereResource,
Object originalMessage,
Object message)
Transform or Filter a message per request, with V as an indicator. |
|
protected BroadcastFilter.BroadcastAction |
BroadcasterConfig.filter(AtmosphereResource r,
Object message,
Object originalMessage)
Invoke BroadcastFilter in the other they were added, with a unique AtmosphereRequest |
|
Action |
AtmosphereInterceptorAdapter.inspect(AtmosphereResource r)
|
|
Action |
AtmosphereInterceptor.inspect(AtmosphereResource r)
Invoked before an AtmosphereResource gets dispatched to AtmosphereHandler |
|
protected void |
DefaultBroadcaster.invokeOnStateChange(AtmosphereResource r,
AtmosphereResourceEvent e)
|
|
void |
DefaultBroadcaster.onException(Throwable t,
AtmosphereResource ar)
|
|
void |
DefaultBroadcaster.onException(Throwable t,
AtmosphereResource ar,
boolean notifyAndCache)
|
|
void |
AtmosphereHandler.onRequest(AtmosphereResource resource)
When a client send a request to its associated AtmosphereHandler, it can decide
if the underlying connection can be suspended (creating a Continuation)
or handle the connection synchronously. |
|
protected Object |
DefaultBroadcaster.perRequestFilter(AtmosphereResource r,
DefaultBroadcaster.Entry msg,
boolean cache)
|
|
protected Object |
DefaultBroadcaster.perRequestFilter(AtmosphereResource r,
DefaultBroadcaster.Entry msg,
boolean cache,
boolean force)
|
|
void |
AtmosphereInterceptorAdapter.postInspect(AtmosphereResource r)
|
|
void |
AtmosphereInterceptor.postInspect(AtmosphereResource r)
Invoked after an AtmosphereResource gets dispatched to AtmosphereHandler |
|
protected void |
DefaultBroadcaster.prepareInvokeOnStateChange(AtmosphereResource r,
AtmosphereResourceEvent e)
|
|
protected void |
DefaultBroadcaster.queueWriteIO(AtmosphereResource r,
Object finalMsg,
DefaultBroadcaster.Entry entry)
|
|
void |
DefaultBroadcasterFactory.removeAllAtmosphereResource(AtmosphereResource r)
Remove all instance of AtmosphereResource from all registered Broadcaster |
|
abstract void |
BroadcasterFactory.removeAllAtmosphereResource(AtmosphereResource r)
Remove all instance of AtmosphereResource from all registered Broadcaster |
|
Broadcaster |
DefaultBroadcaster.removeAtmosphereResource(AtmosphereResource r)
Remove a AtmosphereResource from the list of item to be notified when
the Broadcaster.broadcast(T) is invoked. |
|
Broadcaster |
Broadcaster.removeAtmosphereResource(AtmosphereResource resource)
Remove a AtmosphereResource from the list of item to be notified when
the Broadcaster.broadcast(T) is invoked. |
|
protected Broadcaster |
DefaultBroadcaster.removeAtmosphereResource(AtmosphereResource r,
boolean executeDone)
|
|
List<Object> |
BroadcasterConfig.DefaultBroadcasterCache.retrieveFromCache(String id,
AtmosphereResource r)
|
|
List<Object> |
BroadcasterCache.retrieveFromCache(String id,
AtmosphereResource r)
Retrieve messages associated with AtmosphereResource |
|
protected boolean |
DefaultBroadcaster.retrieveTrackedBroadcast(AtmosphereResource r,
AtmosphereResourceEvent e)
|
|
protected void |
DefaultBroadcaster.trackBroadcastMessage(AtmosphereResource r,
Object msg)
|
|
| Method parameters in org.atmosphere.cpr with type arguments of type AtmosphereResource | ||
|---|---|---|
|
DefaultBroadcaster.broadcast(T msg,
Set<AtmosphereResource> subset)
Broadcast the Object to all suspended response, e.g. |
|
|
Broadcaster.broadcast(T o,
Set<AtmosphereResource> subset)
Broadcast the Object to all suspended response, e.g. |
|
| Constructors in org.atmosphere.cpr with parameters of type AtmosphereResource | |
|---|---|
DefaultBroadcaster.AsyncWriteToken(AtmosphereResource resource,
Object msg,
BroadcasterFuture future,
Object originalMessage)
|
|
DefaultBroadcaster.AsyncWriteToken(AtmosphereResource resource,
Object msg,
BroadcasterFuture future,
Object originalMessage,
UUIDBroadcasterCache.CacheMessage cache)
|
|
| Uses of AtmosphereResource in org.atmosphere.handler |
|---|
| Methods in org.atmosphere.handler with parameters of type AtmosphereResource | |
|---|---|
void |
SimpleWebSocketAtmosphereHandler.onRequest(AtmosphereResource r)
This method redirect the request to the server main page (index.html, index.jsp, etc.) and then execute the SimpleWebSocketAtmosphereHandler.upgrade(AtmosphereResource). |
void |
ReflectorServletProcessor.onRequest(AtmosphereResource r)
Delegate the request to the Servlet.service method, and add the AtmosphereResource
to the HttpServletRequest#setAttribute(java.lang.String, java.lang.Object)). |
void |
OnMessage.onRequest(AtmosphereResource resource)
|
void |
SimpleWebSocketAtmosphereHandler.upgrade(AtmosphereResource resource)
WebSocket upgrade. |
| Uses of AtmosphereResource in org.atmosphere.interceptor |
|---|
| Methods in org.atmosphere.interceptor with parameters of type AtmosphereResource | |
|---|---|
Action |
SSEAtmosphereInterceptor.inspect(AtmosphereResource r)
|
Action |
SessionCreationInterceptor.inspect(AtmosphereResource r)
|
Action |
OnDisconnectInterceptor.inspect(AtmosphereResource r)
|
Action |
JSONPAtmosphereInterceptor.inspect(AtmosphereResource r)
|
Action |
JavaScriptProtocol.inspect(AtmosphereResource r)
|
Action |
BroadcastOnPostAtmosphereInterceptor.inspect(AtmosphereResource r)
|
Action |
AtmosphereResourceLifecycleInterceptor.inspect(AtmosphereResource r)
Automatically suspend the AtmosphereResource based on AtmosphereResource.TRANSPORT value. |
Action |
AndroidAtmosphereInterceptor.inspect(AtmosphereResource r)
|
void |
SessionCreationInterceptor.postInspect(AtmosphereResource r)
|
void |
OnDisconnectInterceptor.postInspect(AtmosphereResource r)
|
void |
JavaScriptProtocol.postInspect(AtmosphereResource r)
|
void |
BroadcastOnPostAtmosphereInterceptor.postInspect(AtmosphereResource r)
|
void |
AtmosphereResourceLifecycleInterceptor.postInspect(AtmosphereResource r)
|
| Uses of AtmosphereResource in org.atmosphere.util |
|---|
| Methods in org.atmosphere.util with parameters of type AtmosphereResource | ||
|---|---|---|
|
SimpleBroadcaster.broadcast(T msg,
AtmosphereResource r)
Broadcast the Object to all suspended response, e.g. |
|
|
ExcludeSessionBroadcaster.broadcast(T msg,
AtmosphereResource r)
the AtmosphereResource r will be exclude for this broadcast |
|
|
AbstractBroadcasterProxy.broadcast(T msg,
AtmosphereResource r)
Broadcast the Object to all suspended response, e.g. |
|
protected void |
AbstractBroadcasterProxy.invokeOnStateChange(AtmosphereResource r,
AtmosphereResourceEvent e)
|
|
protected void |
SimpleBroadcaster.prepareInvokeOnStateChange(AtmosphereResource r,
AtmosphereResourceEvent e)
|
|
protected void |
SimpleBroadcaster.queueWriteIO(AtmosphereResource r,
Object finalMsg,
DefaultBroadcaster.Entry entry)
|
|
| Method parameters in org.atmosphere.util with type arguments of type AtmosphereResource | ||
|---|---|---|
|
SimpleBroadcaster.broadcast(T msg,
Set<AtmosphereResource> subset)
Broadcast the Object to all suspended response, e.g. |
|
|
ExcludeSessionBroadcaster.broadcast(T msg,
Set<AtmosphereResource> subset)
the AtmosphereResources subset will be exclude for this broadcast |
|
|
AbstractBroadcasterProxy.broadcast(T msg,
Set<AtmosphereResource> subset)
Broadcast the Object to all suspended response, e.g. |
|
| Uses of AtmosphereResource in org.atmosphere.websocket |
|---|
| Methods in org.atmosphere.websocket that return AtmosphereResource | |
|---|---|
AtmosphereResource |
WebSocket.resource()
Return the an AtmosphereResource used by this WebSocket, or null if the WebSocket has been closed
before the WebSocket message has been processed. |
| Methods in org.atmosphere.websocket with parameters of type AtmosphereResource | |
|---|---|
WebSocket |
WebSocket.resource(AtmosphereResource r)
Associate an AtmosphereResource to this WebSocket |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||