Uses of Interface
org.atmosphere.cpr.AtmosphereResource

Packages that use AtmosphereResource
org.atmosphere.cache   
org.atmosphere.cpr   
org.atmosphere.handler   
org.atmosphere.util   
org.atmosphere.websocket   
 

Uses of AtmosphereResource in org.atmosphere.cache
 

Methods in org.atmosphere.cache with parameters of type AtmosphereResource
 void BroadcasterCacheBase.addToCache(AtmosphereResource<javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse> resource, Object object)
          Start tracking messages associated with AtmosphereResource from the cache
 void SessionBroadcasterCache.cache(AtmosphereResource<javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse> r, BroadcasterCacheBase.CachedMessage cm)
          Cache the last message broadcasted.
 void HeaderBroadcasterCache.cache(AtmosphereResource<javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse> ar, BroadcasterCacheBase.CachedMessage cm)
          Cache the last message broadcasted.
abstract  void BroadcasterCacheBase.cache(AtmosphereResource<javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse> r, BroadcasterCacheBase.CachedMessage cm)
          Cache the last message broadcasted.
 List<Object> BroadcasterCacheBase.retrieveFromCache(AtmosphereResource<javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse> r)
          Retrieve messages associated with AtmosphereResource
 BroadcasterCacheBase.CachedMessage SessionBroadcasterCache.retrieveLastMessage(AtmosphereResource<javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse> r)
          Return the last message broadcasted to the AtmosphereResource.
 BroadcasterCacheBase.CachedMessage HeaderBroadcasterCache.retrieveLastMessage(AtmosphereResource<javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse> ar)
          Return the last message broadcasted to the AtmosphereResource.
abstract  BroadcasterCacheBase.CachedMessage BroadcasterCacheBase.retrieveLastMessage(AtmosphereResource<javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse> r)
          Return the last message broadcasted to the AtmosphereResource.
 

Uses of AtmosphereResource in org.atmosphere.cpr
 

Classes in org.atmosphere.cpr with type parameters of type AtmosphereResource
 interface CometSupport<E extends AtmosphereResource>
          Atmosphere's supported WebServer must implement this interface in order to be auto detected by the AtmosphereServlet.
 

Classes in org.atmosphere.cpr that implement AtmosphereResource
 class AtmosphereResourceImpl
          AtmosphereResource implementation for supporting HttpServletRequest and HttpServletResponse.
 

Fields in org.atmosphere.cpr with type parameters of type AtmosphereResource
protected  ConcurrentHashMap<javax.servlet.http.HttpServletRequest,AtmosphereResource<javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse>> AsynchronousProcessor.aliveRequests
           
protected static ConcurrentHashMap<AtmosphereResource,Meteor> Meteor.cache
           
protected  ConcurrentLinkedQueue<AtmosphereResource<?,?>> DefaultBroadcaster.resources
           
 

Methods in org.atmosphere.cpr that return AtmosphereResource
 AtmosphereResource<?,?> DefaultBroadcaster.addAtmosphereResource(AtmosphereResource<?,?> r)
          Add a AtmosphereResource to the list of item to be notified when the Broadcaster.broadcast(T) is invoked.
 AtmosphereResource<?,?> Broadcaster.addAtmosphereResource(AtmosphereResource<?,?> resource)
          Add a AtmosphereResource to the list of item to be notified when the Broadcaster.broadcast(T) is invoked.
 AtmosphereResource<javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse> Meteor.getAtmosphereResource()
          Return the underlying AtmosphereResource
 AtmosphereResource<javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse> AtmosphereResourceEventImpl.getResource()
          Return the AtmosphereResource associated with this event
 AtmosphereResource<E,F> AtmosphereResourceEvent.getResource()
          Return the AtmosphereResource associated with this event
 AtmosphereResource<?,?> DefaultBroadcaster.removeAtmosphereResource(AtmosphereResource r)
          Remove a AtmosphereResource from the list of item to be notified when the Broadcaster.broadcast(T) is invoked.
 AtmosphereResource<?,?> Broadcaster.removeAtmosphereResource(AtmosphereResource<?,?> resource)
          Remove a AtmosphereResource from the list of item to be notified when the Broadcaster.broadcast(T) is invoked.
 

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
 AtmosphereResource<?,?> DefaultBroadcaster.addAtmosphereResource(AtmosphereResource<?,?> r)
          Add a AtmosphereResource to the list of item to be notified when the Broadcaster.broadcast(T) is invoked.
 AtmosphereResource<?,?> Broadcaster.addAtmosphereResource(AtmosphereResource<?,?> resource)
          Add a AtmosphereResource to the list of item to be notified when the Broadcaster.broadcast(T) is invoked.
 void BroadcasterCache.addToCache(AtmosphereResource<V,W> r, Object e)
          Start tracking messages associated with AtmosphereResource from the cache
 void BroadcasterConfig.DefaultBroadcasterCache.addToCache(AtmosphereResource r, Object e)
           
protected  void DefaultBroadcaster.broadcast(AtmosphereResource<?,?> r, AtmosphereResourceEvent e)
           
<T> Future<T>
DefaultBroadcaster.broadcast(T msg, AtmosphereResource<?,?> r)
          Broadcast the Object to all suspended response, e.g.
<T> Future<T>
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, DefaultBroadcaster.AsyncWriteToken token)
          Cache the message because an unexpected exception occurred.
protected  void DefaultBroadcaster.checkCachedAndPush(AtmosphereResource<?,?> r, AtmosphereResourceEvent e)
           
static void AsynchronousProcessor.destroyResource(AtmosphereResource<?,?> r)
           
 void DefaultBroadcaster.onException(Throwable t, AtmosphereResource<?,?> ar)
           
 void AtmosphereHandler.onRequest(AtmosphereResource<F,G> 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)
           
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
 AtmosphereResource<?,?> DefaultBroadcaster.removeAtmosphereResource(AtmosphereResource r)
          Remove a AtmosphereResource from the list of item to be notified when the Broadcaster.broadcast(T) is invoked.
 AtmosphereResource<?,?> Broadcaster.removeAtmosphereResource(AtmosphereResource<?,?> resource)
          Remove a AtmosphereResource from the list of item to be notified when the Broadcaster.broadcast(T) is invoked.
 List<Object> BroadcasterConfig.DefaultBroadcasterCache.retrieveFromCache(AtmosphereResource r)
           
 List<Object> BroadcasterCache.retrieveFromCache(AtmosphereResource<V,W> 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
<T> Future<T>
DefaultBroadcaster.broadcast(T msg, Set<AtmosphereResource<?,?>> subset)
          Broadcast the Object to all suspended response, e.g.
<T> Future<T>
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)
           
 

Uses of AtmosphereResource in org.atmosphere.handler
 

Methods in org.atmosphere.handler with parameters of type AtmosphereResource
 void SimpleWebSocketAtmosphereHandler.onRequest(AtmosphereResource<javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse> 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<javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse> r)
          Delegate the request to the Servlet.service method, and add the AtmosphereResource to the HttpServletRequest#setAttribute(java.lang.String, java.lang.Object)).
 void SimpleWebSocketAtmosphereHandler.upgrade(AtmosphereResource<javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse> resource)
          WebSocket upgrade.
 

Uses of AtmosphereResource in org.atmosphere.util
 

Methods in org.atmosphere.util with parameters of type AtmosphereResource
protected  void AbstractBroadcasterProxy.broadcast(AtmosphereResource<?,?> r, AtmosphereResourceEvent e)
          
<T> Future<T>
SimpleBroadcaster.broadcast(T msg, AtmosphereResource<?,?> r)
          Broadcast the Object to all suspended response, e.g.
<T> Future<T>
ExcludeSessionBroadcaster.broadcast(T msg, AtmosphereResource<?,?> r)
          the AtmosphereResource r will be exclude for this broadcast
<T> Future<T>
AbstractBroadcasterProxy.broadcast(T msg, AtmosphereResource<?,?> r)
          Broadcast the Object to all suspended response, e.g.
protected  void SimpleBroadcaster.queueWriteIO(AtmosphereResource<?,?> r, Object finalMsg, DefaultBroadcaster.Entry entry)
          
 

Method parameters in org.atmosphere.util with type arguments of type AtmosphereResource
<T> Future<T>
SimpleBroadcaster.broadcast(T msg, Set<AtmosphereResource<?,?>> subset)
          Broadcast the Object to all suspended response, e.g.
<T> Future<T>
ExcludeSessionBroadcaster.broadcast(T msg, Set<AtmosphereResource<?,?>> subset)
          the AtmosphereResources subset will be exclude for this broadcast
<T> Future<T>
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<?,?> WebSocketAdapter.resource()
           
 AtmosphereResource<?,?> WebSocket.resource()
          Return the current AtmosphereResource representing the underlying connection and the original HttpServletRequest
 

Methods in org.atmosphere.websocket with parameters of type AtmosphereResource
 WebSocketAdapter WebSocketAdapter.setAtmosphereResource(AtmosphereResource<?,?> r)
          Configure the AtmosphereResource
 



Copyright © 2012. All Rights Reserved.