Uses of Interface
org.atmosphere.cpr.AtmosphereResource
-
-
Uses of AtmosphereResource in org.atmosphere.annotation
Method parameters in org.atmosphere.annotation with type arguments of type AtmosphereResource Modifier and Type Method Description voidAsyncSupportServiceProcessor. handle(AtmosphereFramework framework, java.lang.Class<AsyncSupport<AtmosphereResource>> annotatedClass) -
Uses of AtmosphereResource in org.atmosphere.cache
Methods in org.atmosphere.cache with parameters of type AtmosphereResource Modifier and Type Method Description BroadcasterCacheAbstractBroadcasterCache. excludeFromCache(java.lang.String broadcasterId, AtmosphereResource r)BroadcasterCacheDefaultBroadcasterCache. excludeFromCache(java.lang.String broadcasterId, AtmosphereResource r)BroadcasterCacheUUIDBroadcasterCache. excludeFromCache(java.lang.String broadcasterId, AtmosphereResource r)protected java.lang.StringUUIDBroadcasterCache. uuid(AtmosphereResource r) -
Uses of AtmosphereResource in org.atmosphere.client
Methods in org.atmosphere.client with parameters of type AtmosphereResource Modifier and Type Method Description BroadcastFilter.BroadcastActionTrackMessageSizeFilter. filter(java.lang.String broadcasterId, AtmosphereResource r, java.lang.Object originalMessage, java.lang.Object message)ActionTrackMessageSizeInterceptor. inspect(AtmosphereResource r) -
Uses of AtmosphereResource in org.atmosphere.config.managed
Methods in org.atmosphere.config.managed with parameters of type AtmosphereResource Modifier and Type Method Description ActionServiceInterceptor. inspect(AtmosphereResource r)protected ManagedServiceInterceptor.ManagedAnnotationManagedServiceInterceptor. managed(AnnotatedProxy ap, AtmosphereResource r)voidManagedAtmosphereHandler. onRequest(AtmosphereResource resource)voidManagedServiceInterceptor. postInspect(AtmosphereResource r)protected voidManagedAtmosphereHandler. processReady(AtmosphereResource r) -
Uses of AtmosphereResource in org.atmosphere.cpr
Classes in org.atmosphere.cpr with type parameters of type AtmosphereResource Modifier and Type Interface Description interfaceAsyncSupport<E extends AtmosphereResource>Atmosphere's supported WebServer must implement this interface in order to be auto detected by theAtmosphereFramework.Classes in org.atmosphere.cpr that implement AtmosphereResource Modifier and Type Class Description classAtmosphereResourceImplFields in org.atmosphere.cpr declared as AtmosphereResource Modifier and Type Field Description protected AtmosphereResourceDeliver. resourceFields in org.atmosphere.cpr with type parameters of type AtmosphereResource Modifier and Type Field Description protected java.util.concurrent.atomic.AtomicReference<AtmosphereResource>AtmosphereSession. resourceprotected java.util.concurrent.ConcurrentLinkedQueue<AtmosphereResource>DefaultBroadcaster. resourcesprotected java.util.Set<AtmosphereResource>Deliver. resourcesMethods in org.atmosphere.cpr that return AtmosphereResource Modifier and Type Method Description AtmosphereResourceAtmosphereSession. acquire()Retrieve theAtmosphereResourceassociated with this session.AtmosphereResourceAtmosphereResource. addBroadcaster(Broadcaster broadcaster)Add/Associate aBroadcasterwith this resource.AtmosphereResourceAtmosphereResourceImpl. addBroadcaster(Broadcaster broadcaster)AtmosphereResourceAtmosphereResource. addEventListener(AtmosphereResourceEventListener e)AtmosphereResourceAtmosphereResourceImpl. addEventListener(AtmosphereResourceEventListener e)AtmosphereResourceAtmosphereResourceFactory. create(AtmosphereConfig config, java.lang.String uuid)Create anAtmosphereResourceassociated with the uuid.AtmosphereResourceAtmosphereResourceFactory. create(AtmosphereConfig config, java.lang.String uuid, AtmosphereRequest request)Create anAtmosphereResourceassociated with the uuid.AtmosphereResourceAtmosphereResourceFactory. create(AtmosphereConfig config, AtmosphereRequest request, AtmosphereResponse response, AsyncSupport<?> a)Create anAtmosphereResourceImplAtmosphereResourceAtmosphereResourceFactory. create(AtmosphereConfig config, AtmosphereResponse response, AsyncSupport<?> a)Create anAtmosphereResourceImpl.AtmosphereResourceAtmosphereResourceFactory. create(AtmosphereConfig config, Broadcaster broadcaster, AtmosphereRequest request, AtmosphereResponse response, AsyncSupport<?> a, AtmosphereHandler handler)Create anAtmosphereResourceImpl.AtmosphereResourceAtmosphereResourceFactory. create(AtmosphereConfig config, Broadcaster broadcaster, AtmosphereRequest request, AtmosphereResponse response, AsyncSupport<?> a, AtmosphereHandler handler, AtmosphereResource.TRANSPORT t)Create anAtmosphereResourceImpl.AtmosphereResourceAtmosphereResourceFactory. create(AtmosphereConfig config, Broadcaster broadcaster, AtmosphereResponse response, AsyncSupport<?> a, AtmosphereHandler handler)Create anAtmosphereResourceImpl.AtmosphereResourceAtmosphereResourceFactory. create(AtmosphereConfig config, Broadcaster broadcaster, AtmosphereResponse response, AsyncSupport<?> a, AtmosphereHandler handler, AtmosphereResource.TRANSPORT t)AtmosphereResourceDefaultAtmosphereResourceFactory. create(AtmosphereConfig config, java.lang.String uuid)Create anAtmosphereResourceassociated with the uuid.AtmosphereResourceDefaultAtmosphereResourceFactory. create(AtmosphereConfig config, java.lang.String uuid, AtmosphereRequest request)Create anAtmosphereResourceassociated with the uuid.AtmosphereResourceDefaultAtmosphereResourceFactory. create(AtmosphereConfig config, AtmosphereRequest request, AtmosphereResponse response, AsyncSupport<?> a)Create anAtmosphereResourceImplAtmosphereResourceDefaultAtmosphereResourceFactory. create(AtmosphereConfig config, AtmosphereResponse response, AsyncSupport<?> a)Create anAtmosphereResourceImpl.AtmosphereResourceDefaultAtmosphereResourceFactory. create(AtmosphereConfig config, Broadcaster broadcaster, AtmosphereRequest request, AtmosphereResponse response, AsyncSupport<?> a, AtmosphereHandler handler)Create anAtmosphereResourceImpl.AtmosphereResourceDefaultAtmosphereResourceFactory. create(AtmosphereConfig config, Broadcaster broadcaster, AtmosphereRequest request, AtmosphereResponse response, AsyncSupport<?> a, AtmosphereHandler handler, AtmosphereResource.TRANSPORT t)Create anAtmosphereResourceImpl.AtmosphereResourceDefaultAtmosphereResourceFactory. create(AtmosphereConfig config, Broadcaster broadcaster, AtmosphereResponse response, AsyncSupport<?> a, AtmosphereHandler handler)Create anAtmosphereResourceImpl.AtmosphereResourceDefaultAtmosphereResourceFactory. create(AtmosphereConfig config, Broadcaster broadcaster, AtmosphereResponse response, AsyncSupport<?> a, AtmosphereHandler handler, AtmosphereResource.TRANSPORT t)AtmosphereResourceAtmosphereResourceFactory. find(java.lang.String uuid)Find anAtmosphereResourcebased on itsuuid().AtmosphereResourceDefaultAtmosphereResourceFactory. find(java.lang.String uuid)Find anAtmosphereResourcebased on itsuuid().AtmosphereResourceAtmosphereResource. forceBinaryWrite(boolean force)Force binary write and never write String value.AtmosphereResourceAtmosphereResourceImpl. forceBinaryWrite(boolean forceBinaryWrite)AtmosphereResourceMeteor. getAtmosphereResource()Return the underlyingAtmosphereResource.AtmosphereResourceAtmosphereResourceEvent. getResource()Return theAtmosphereResourceassociated with this event.AtmosphereResourceAtmosphereResourceEventImpl. getResource()AtmosphereResourceDeliver. getResource()AtmosphereResourceAtmosphereResource. initialize(AtmosphereConfig config, Broadcaster broadcaster, AtmosphereRequest req, AtmosphereResponse response, AsyncSupport asyncSupport, AtmosphereHandler atmosphereHandler)Initialize anAtmosphereResource.AtmosphereResourceAtmosphereResourceImpl. initialize(AtmosphereConfig config, Broadcaster broadcaster, AtmosphereRequest req, AtmosphereResponse response, AsyncSupport asyncSupport, AtmosphereHandler atmosphereHandler)Initialize anAtmosphereResource.AtmosphereResourceAtmosphereResource. notifyListeners()Notify allAtmosphereResourceEventListeners.AtmosphereResourceAtmosphereResource. notifyListeners(AtmosphereResourceEvent e)Notify allAtmosphereResourceEventListener.AtmosphereResourceAtmosphereResourceImpl. notifyListeners()AtmosphereResourceAtmosphereResourceImpl. notifyListeners(AtmosphereResourceEvent event)AtmosphereResourceAtmosphereResourceFactory. remove(java.lang.String uuid)Remove theAtmosphereResourcefrom all instances ofBroadcaster.AtmosphereResourceDefaultAtmosphereResourceFactory. remove(java.lang.String uuid)Remove theAtmosphereResourcefrom all instances ofBroadcaster.AtmosphereResourceAtmosphereResource. removeBroadcaster(Broadcaster broadcaster)Remove aBroadcasterwith this resource.AtmosphereResourceAtmosphereResourceImpl. removeBroadcaster(Broadcaster broadcaster)AtmosphereResourceAtmosphereResource. removeEventListener(AtmosphereResourceEventListener e)Remove aAtmosphereResourceEventListener.AtmosphereResourceAtmosphereResourceImpl. removeEventListener(AtmosphereResourceEventListener e)AtmosphereResourceAtmosphereResource. removeEventListeners()Remove allAtmosphereResourceEventListeners.AtmosphereResourceAtmosphereResourceImpl. removeEventListeners()AtmosphereResourceAtmosphereResource. removeFromAllBroadcasters()Remove thisAtmosphereResourcefrom allBroadcasterAtmosphereResourceAtmosphereResourceImpl. removeFromAllBroadcasters()AtmosphereResourceAtmosphereRequest. resource()TheAtmosphereResourceassociated with this request.AtmosphereResourceAtmosphereRequestImpl. resource()AtmosphereResourceAtmosphereResponse. resource()TheAtmosphereResourceassociated with this request.AtmosphereResourceAtmosphereResponseImpl. resource()AtmosphereResourceAtmosphereResource. resume()Complete theAtmosphereResponseand finish/commit it.AtmosphereResourceAtmosphereResourceImpl. resume()AtmosphereResourceAtmosphereResource. resumeOnBroadcast(boolean resumeOnBroadcast)Set to true to resume the response after the first broadcast.AtmosphereResourceAtmosphereResourceImpl. resumeOnBroadcast(boolean resumeOnBroadcast)AtmosphereResourceAtmosphereResource. setBroadcaster(Broadcaster broadcaster)Set the firstBroadcasterassociated with this resource.AtmosphereResourceAtmosphereResourceImpl. setBroadcaster(Broadcaster broadcaster)AtmosphereResourceAtmosphereResource. setSerializer(Serializer s)Set theSerializerto use whenwrite(java.lang.String)execute the operation.AtmosphereResourceAtmosphereResourceImpl. setSerializer(Serializer s)Set theSerializerused to write broadcasted objects.AtmosphereResourceAtmosphereResource. suspend()Suspend theAtmosphereResponseindefinitely.AtmosphereResourceAtmosphereResource. suspend(long timeout)Suspend theAtmosphereResponse.AtmosphereResourceAtmosphereResource. suspend(long timeout, java.util.concurrent.TimeUnit timeunit)Suspend theAtmosphereResponse.AtmosphereResourceAtmosphereResourceImpl. suspend()AtmosphereResourceAtmosphereResourceImpl. suspend(long timeout)AtmosphereResourceAtmosphereResourceImpl. suspend(long timeout, java.util.concurrent.TimeUnit timeunit)AtmosphereResourceAtmosphereSession. tryAcquire()Retrieve theAtmosphereResourceassociated with this session.AtmosphereResourceAtmosphereSession. tryAcquire(int timeInSecond)Retrieve theAtmosphereResourceassociated with this session.protected AtmosphereResourceAtmosphereResourceImpl. uniqueBroadcaster(Broadcaster newB)AtmosphereResourceAtmosphereResource. write(byte[] s)Write the bytes IfresumeOnBroadcast()is true, the underlying connection will be resumed (@link #resume());AtmosphereResourceAtmosphereResource. write(java.lang.String s)Write the String.AtmosphereResourceAtmosphereResourceImpl. write(byte[] o)AtmosphereResourceAtmosphereResourceImpl. write(java.lang.String s)AtmosphereResourceAtmosphereResource. writeOnTimeout(java.lang.Object o)Set a message that will be written when the resource times out.AtmosphereResourceAtmosphereResourceImpl. writeOnTimeout(java.lang.Object o)Methods in org.atmosphere.cpr that return types with arguments of type AtmosphereResource Modifier and Type Method Description java.util.Collection<AtmosphereResource>AtmosphereResourceFactory. findAll()java.util.Collection<AtmosphereResource>DefaultAtmosphereResourceFactory. findAll()java.util.Collection<AtmosphereResource>Broadcaster. getAtmosphereResources()Return anListofAtmosphereResource.java.util.Collection<AtmosphereResource>DefaultBroadcaster. getAtmosphereResources()java.util.Set<AtmosphereResource>Deliver. getResources()java.util.concurrent.ConcurrentMap<java.lang.String,AtmosphereResource>AtmosphereResourceFactory. resources()java.util.concurrent.ConcurrentMap<java.lang.String,AtmosphereResource>DefaultAtmosphereResourceFactory. resources()Methods in org.atmosphere.cpr with parameters of type AtmosphereResource Modifier and Type Method Description BroadcasterBroadcaster. addAtmosphereResource(AtmosphereResource resource)Add aAtmosphereResourceto the list of items to be notified when theBroadcaster.broadcast(java.lang.Object)is invoked.BroadcasterDefaultBroadcaster. addAtmosphereResource(AtmosphereResource r)java.util.List<java.lang.Object>BroadcasterConfig. applyFilters(AtmosphereResource r, java.util.List<java.lang.Object> cacheMessages)Apply all filters to theAtmosphereResourceand the providedListof messages.voidAtmosphereResourceFactory.Async. available(AtmosphereResource r)A stub representing anAtmosphereResourcelocated somewhere in a clusterjava.util.concurrent.Future<java.lang.Object>Broadcaster. broadcast(java.lang.Object o, AtmosphereResource resource)Broadcast theObjectto all suspended responses, eg.java.util.concurrent.Future<java.lang.Object>DefaultBroadcaster. broadcast(java.lang.Object msg, AtmosphereResource r)protected voidDefaultBroadcaster. broadcastOnResume(AtmosphereResource r)protected voidDefaultBroadcaster. cacheAndSuspend(AtmosphereResource r)Look in the cache to see if there are messages available, and take the appropriate actions.voidDefaultBroadcaster. cacheLostMessage(AtmosphereResource r, boolean force)Cache the message because an unexpected exception occurred.voidDefaultBroadcaster. cacheLostMessage(AtmosphereResource r, DefaultBroadcaster.AsyncWriteToken token)Cache the message because an unexpected exception occurred.voidDefaultBroadcaster. cacheLostMessage(AtmosphereResource r, DefaultBroadcaster.AsyncWriteToken token, boolean force)Cache the message because an unexpected exception occurred.protected booleanDefaultBroadcaster. checkCachedAndPush(AtmosphereResource r, AtmosphereResourceEvent e)AtmosphereResourceImplAtmosphereResourceImpl. cloneState(AtmosphereResource r)booleanAsynchronousProcessor. completeLifecycle(AtmosphereResource r, boolean cancelled)Cancel or times out anAtmosphereResourceby invoking it's associatedAtmosphereHandler.onStateChange(AtmosphereResourceEvent)protected booleanDefaultBroadcaster. endBroadcast(Deliver deliver, AtmosphereResource r, CacheMessage cacheMsg, boolean deliverMessage)BroadcasterCacheBroadcasterCache. excludeFromCache(java.lang.String broadcasterId, AtmosphereResource r)Allow an application to exclude, or block, anAtmosphereResourceto received cached message.protected voidDefaultBroadcaster. executeBlockingWrite(AtmosphereResource r, Deliver deliver, java.util.concurrent.atomic.AtomicInteger count)protected BroadcastFilter.BroadcastActionBroadcasterConfig. filter(AtmosphereResource r, java.lang.Object message, java.lang.Object originalMessage)InvokeBroadcastFilters in the order they were added, with a uniqueAtmosphereRequest.BroadcastFilter.BroadcastActionBroadcastFilterAdapter. filter(java.lang.String broadcasterId, AtmosphereResource r, java.lang.Object originalMessage, java.lang.Object message)BroadcastFilter.BroadcastActionPerRequestBroadcastFilter. filter(java.lang.String broadcasterId, AtmosphereResource r, java.lang.Object originalMessage, java.lang.Object message)Transform or filter a message perAtmosphereResource.AtmosphereResourceSessionAtmosphereResourceSessionFactory. getSession(AtmosphereResource resource)Returns the current session associated with theAtmosphereResource, or creates one if it does not yet exist.AtmosphereResourceSessionAtmosphereResourceSessionFactory. getSession(AtmosphereResource resource, boolean create)Returns the current session associated with theAtmosphereResourceor, if there is no current session and create is true, returns a new session.AtmosphereResourceSessionDefaultAtmosphereResourceSessionFactory. getSession(AtmosphereResource resource)AtmosphereResourceSessionDefaultAtmosphereResourceSessionFactory. getSession(AtmosphereResource r, boolean create)ActionAtmosphereInterceptor. inspect(AtmosphereResource r)Invoked before anAtmosphereResourcegets dispatched toAtmosphereHandler.ActionAtmosphereInterceptorAdapter. inspect(AtmosphereResource r)ActionAsynchronousProcessor. invokeInterceptors(java.util.List<AtmosphereInterceptor> c, AtmosphereResource r, int tracing)protected voidDefaultBroadcaster. invokeOnStateChange(AtmosphereResource r, AtmosphereResourceEvent e)protected voidDefaultBroadcaster. notifyAndAdd(AtmosphereResource r)protected voidDefaultBroadcaster. notifyOnAddAtmosphereResourceListener(AtmosphereResource r)protected voidDefaultBroadcaster. notifyOnRemoveAtmosphereResourceListener(AtmosphereResource r)voidBroadcasterListener. onAddAtmosphereResource(Broadcaster b, AtmosphereResource r)Invoked when anAtmosphereResourceis getting associated to aBroadcaster.voidBroadcasterListenerAdapter. onAddAtmosphereResource(Broadcaster b, AtmosphereResource r)Invoked when anAtmosphereResourceis getting associated to aBroadcaster.voidDefaultBroadcaster. onException(java.lang.Throwable t, AtmosphereResource ar)voidDefaultBroadcaster. onException(java.lang.Throwable t, AtmosphereResource ar, boolean notifyAndCache)voidBroadcasterListener. onRemoveAtmosphereResource(Broadcaster b, AtmosphereResource r)Invoked when anAtmosphereResourceis getting removed to aBroadcaster.voidBroadcasterListenerAdapter. onRemoveAtmosphereResource(Broadcaster b, AtmosphereResource r)Invoked when anAtmosphereResourceis getting removed to aBroadcaster.voidAtmosphereHandler. onRequest(AtmosphereResource resource)When a client sends a request to its associatedAtmosphereHandler, it can decide if the underlying connection can be suspended (creating a Continuation) or handle the connection synchronously.protected booleanDefaultBroadcaster. perRequestFilter(AtmosphereResource r, Deliver msg)voidAtmosphereInterceptor. postInspect(AtmosphereResource r)Invoked after anAtmosphereResourcegets dispatched toAtmosphereHandler.voidAtmosphereInterceptorAdapter. postInspect(AtmosphereResource r)voidAsynchronousProcessor. postInterceptors(java.util.List<AtmosphereInterceptor> c, AtmosphereResource r)protected voidDefaultBroadcaster. prepareInvokeOnStateChange(AtmosphereResource r, AtmosphereResourceEvent e)protected voidDefaultBroadcaster. queueWriteIO(AtmosphereResource r, Deliver deliver, java.util.concurrent.atomic.AtomicInteger count)voidAtmosphereResourceFactory. registerUuidForFindCandidate(AtmosphereResource r)Register anAtmosphereResourcefor being a candidate toAtmosphereResourceFactory.find(String)operation.voidDefaultAtmosphereResourceFactory. registerUuidForFindCandidate(AtmosphereResource r)Register anAtmosphereResourcefor being a candidate toDefaultAtmosphereResourceFactory.find(String)operation.voidBroadcasterFactory. removeAllAtmosphereResource(AtmosphereResource r)Deprecated.voidDefaultBroadcasterFactory. removeAllAtmosphereResource(AtmosphereResource r)Deprecated.BroadcasterBroadcaster. removeAtmosphereResource(AtmosphereResource resource)Remove aAtmosphereResourcefrom the list of s to be notified when theBroadcaster.broadcast(java.lang.Object)is invoked.BroadcasterDefaultBroadcaster. removeAtmosphereResource(AtmosphereResource r)protected BroadcasterDefaultBroadcaster. removeAtmosphereResource(AtmosphereResource r, boolean executeDone)protected booleanDefaultBroadcaster. retrieveTrackedBroadcast(AtmosphereResource r, AtmosphereResourceEvent e)voidAtmosphereResourceFactory. unRegisterUuidForFindCandidate(AtmosphereResource r)Un register anAtmosphereResourcefor being a candidate toAtmosphereResourceFactory.find(String)operation.voidDefaultAtmosphereResourceFactory. unRegisterUuidForFindCandidate(AtmosphereResource r)Un register anAtmosphereResourcefor being a candidate toDefaultAtmosphereResourceFactory.find(String)operation.Method parameters in org.atmosphere.cpr with type arguments of type AtmosphereResource Modifier and Type Method Description java.util.concurrent.Future<java.lang.Object>Broadcaster. broadcast(java.lang.Object o, java.util.Set<AtmosphereResource> subset)Broadcast theObjectto all suspended response, eg.java.util.concurrent.Future<java.lang.Object>DefaultBroadcaster. broadcast(java.lang.Object msg, java.util.Set<AtmosphereResource> subset)Constructors in org.atmosphere.cpr with parameters of type AtmosphereResource Constructor Description AsyncWriteToken(AtmosphereResource resource, java.lang.Object msg, BroadcasterFuture future, java.lang.Object originalMessage, java.util.concurrent.atomic.AtomicInteger count)AsyncWriteToken(AtmosphereResource resource, java.lang.Object msg, BroadcasterFuture future, java.lang.Object originalMessage, CacheMessage cache, java.util.concurrent.atomic.AtomicInteger count)AtmosphereSession(AtmosphereResource resource)Track the currentAtmosphereResourcewith all createdBroadcasterAtmosphereSession(AtmosphereResource r, Broadcaster... broadcasters)Deliver(java.lang.Object message, AtmosphereResource r, BroadcasterFuture<?> future, java.lang.Object originalMessage)Deliver(AtmosphereResource r, Deliver e)Deliver(AtmosphereResource r, Deliver e, CacheMessage cacheMessage)Deliver(Deliver.TYPE type, java.lang.Object originalMessage, java.lang.Object message, AtmosphereResource r, BroadcasterFuture<?> future, CacheMessage cache, boolean writeLocally, java.util.Set<AtmosphereResource> resources, boolean async)Constructor parameters in org.atmosphere.cpr with type arguments of type AtmosphereResource Constructor Description Deliver(java.lang.Object message, java.util.Set<AtmosphereResource> resources, BroadcasterFuture<?> future, java.lang.Object originalMessage)Deliver(Deliver.TYPE type, java.lang.Object originalMessage, java.lang.Object message, AtmosphereResource r, BroadcasterFuture<?> future, CacheMessage cache, boolean writeLocally, java.util.Set<AtmosphereResource> resources, boolean async) -
Uses of AtmosphereResource in org.atmosphere.handler
Methods in org.atmosphere.handler with parameters of type AtmosphereResource Modifier and Type Method Description voidOnMessage. onOpen(AtmosphereResource resource)This method will be invoked when an connection has been received and not haven't yet be suspended.voidAbstractReflectorAtmosphereHandler.Default. onRequest(AtmosphereResource resource)When a client sends a request to its associatedAtmosphereHandler, it can decide if the underlying connection can be suspended (creating a Continuation) or handle the connection synchronously.voidAtmosphereHandlerAdapter. onRequest(AtmosphereResource resource)voidOnMessage. onRequest(AtmosphereResource resource)voidReflectorServletProcessor. onRequest(AtmosphereResource r)Delegate the request to the Servlet.service method, and add theAtmosphereResourceto the {@link HttpServletRequest#setAttribute(java.lang.String, java.lang.Object))}. -
Uses of AtmosphereResource in org.atmosphere.inject
Methods in org.atmosphere.inject that return AtmosphereResource Modifier and Type Method Description AtmosphereResourceAtmosphereResourceIntrospector. injectable(AtmosphereResource r)Methods in org.atmosphere.inject with parameters of type AtmosphereResource Modifier and Type Method Description AtmosphereRequestAtmosphereRequestIntrospector. injectable(AtmosphereResource r)AtmosphereResourceEventAtmosphereResourceEventIntrospector. injectable(AtmosphereResource r)AtmosphereResourceAtmosphereResourceIntrospector. injectable(AtmosphereResource r)AtmosphereResponseAtmosphereResponseIntrospector. injectable(AtmosphereResource r)BroadcasterBroadcasterIntrospector. injectable(AtmosphereResource r)TInjectIntrospector. injectable(AtmosphereResource resource)Returns an instance of the Tjava.lang.ObjectInjectIntrospectorAdapter. injectable(AtmosphereResource resource)java.lang.StringPathParamIntrospector. injectable(AtmosphereResource r)voidInjectableObjectFactory. requestScoped(java.lang.Object instance, java.lang.Class defaultType, AtmosphereResource r) -
Uses of AtmosphereResource in org.atmosphere.interceptor
Methods in org.atmosphere.interceptor with parameters of type AtmosphereResource Modifier and Type Method Description HeartbeatInterceptorHeartbeatInterceptor. clock(int interval, AtmosphereResource r, AtmosphereRequest request, AtmosphereResponse response)Configures the heartbeat sent by the server in an interval in seconds specified in parameter for the given resource.ActionAndroidAtmosphereInterceptor. inspect(AtmosphereResource r)ActionAtmosphereResourceLifecycleInterceptor. inspect(AtmosphereResource r)Automatically suspend theAtmosphereResourcebased onAtmosphereResource.TRANSPORTvalue.ActionAtmosphereResourceStateRecovery. inspect(AtmosphereResource r)ActionBroadcastOnPostAtmosphereInterceptor. inspect(AtmosphereResource r)ActionCacheHeadersInterceptor. inspect(AtmosphereResource r)ActionCorsInterceptor. inspect(AtmosphereResource r)ActionHeartbeatInterceptor. inspect(AtmosphereResource r)ActionIdleResourceInterceptor. inspect(AtmosphereResource r)ActionJavaScriptProtocol. inspect(AtmosphereResource ar)ActionJSONPAtmosphereInterceptor. inspect(AtmosphereResource r)ActionNginxInterceptor. inspect(AtmosphereResource r)ActionOnDisconnectInterceptor. inspect(AtmosphereResource r)ActionPaddingAtmosphereInterceptor. inspect(AtmosphereResource r)ActionSessionCreationInterceptor. inspect(AtmosphereResource r)ActionShiroInterceptor. inspect(AtmosphereResource r)ActionSimpleRestInterceptor. inspect(AtmosphereResource r)ActionSSEAtmosphereInterceptor. inspect(AtmosphereResource r)ActionSuspendTrackerInterceptor. inspect(AtmosphereResource r)ActionTrackMessageSizeB64Interceptor. inspect(AtmosphereResource r)ActionWebSocketMessageSuspendInterceptor. inspect(AtmosphereResource r)voidAtmosphereResourceStateRecovery.B. onAddAtmosphereResource(Broadcaster b, AtmosphereResource r)voidAtmosphereResourceStateRecovery.B. onRemoveAtmosphereResource(Broadcaster b, AtmosphereResource r)voidAtmosphereResourceLifecycleInterceptor. postInspect(AtmosphereResource r)voidAtmosphereResourceStateRecovery. postInspect(AtmosphereResource r)voidBroadcastOnPostAtmosphereInterceptor. postInspect(AtmosphereResource r)java.util.List<java.lang.Object>AtmosphereResourceStateRecovery. retrieveCache(AtmosphereResource r, AtmosphereResourceStateRecovery.BroadcasterTracker tracker, boolean force) -
Uses of AtmosphereResource in org.atmosphere.lifecycle
Methods in org.atmosphere.lifecycle with parameters of type AtmosphereResource Modifier and Type Method Description voidBroadcasterLifecyclePolicyHandler. onRemoveAtmosphereResource(Broadcaster b, AtmosphereResource r)Invoked when anAtmosphereResourceis getting removed to aBroadcaster. -
Uses of AtmosphereResource in org.atmosphere.pool
Methods in org.atmosphere.pool with parameters of type AtmosphereResource Modifier and Type Method Description voidPoolableBroadcasterFactory. removeAllAtmosphereResource(AtmosphereResource r) -
Uses of AtmosphereResource in org.atmosphere.util
Methods in org.atmosphere.util that return AtmosphereResource Modifier and Type Method Description static AtmosphereResourceUtils. websocketResource(AtmosphereResource r)Methods in org.atmosphere.util with parameters of type AtmosphereResource Modifier and Type Method Description java.util.concurrent.Future<java.lang.Object>AbstractBroadcasterProxy. broadcast(java.lang.Object msg, AtmosphereResource r)java.util.concurrent.Future<java.lang.Object>ExcludeSessionBroadcaster. broadcast(java.lang.Object msg, AtmosphereResource r)the AtmosphereResource r will be exclude for this broadcastjava.util.concurrent.Future<java.lang.Object>SimpleBroadcaster. broadcast(java.lang.Object msg, AtmosphereResource r)static voidIOUtils. deliver(java.lang.Object o, DeliverTo deliverConfig, DeliverTo.DELIVER_TO defaultDeliver, AtmosphereResource r)Delivers the given message according to the specifiedconfiguration).static byte[]IOUtils. forceReadEntirelyAsByte(AtmosphereResource r)Reads request body as bytes without respectApplicationConfig.READ_GET_BODYparameterstatic voidUtils. inject(java.lang.Object object, java.lang.Class<?> clazz, AtmosphereResource r)static voidUtils. inject(AtmosphereResource r)protected voidAbstractBroadcasterProxy. invokeOnStateChange(AtmosphereResource r, AtmosphereResourceEvent e)protected voidSimpleBroadcaster. prepareInvokeOnStateChange(AtmosphereResource r, AtmosphereResourceEvent e)protected voidSimpleBroadcaster. queueWriteIO(AtmosphereResource r, Deliver deliver, java.util.concurrent.atomic.AtomicInteger count)static java.lang.ObjectIOUtils. readEntirely(AtmosphereResource r)static byte[]IOUtils. readEntirelyAsByte(AtmosphereResource r)static java.lang.StringBuilderIOUtils. readEntirelyAsString(AtmosphereResource r)static booleanUtils. webSocketMessage(AtmosphereResource r)static AtmosphereResourceUtils. websocketResource(AtmosphereResource r)Method parameters in org.atmosphere.util with type arguments of type AtmosphereResource Modifier and Type Method Description java.util.concurrent.Future<java.lang.Object>AbstractBroadcasterProxy. broadcast(java.lang.Object msg, java.util.Set<AtmosphereResource> subset)java.util.concurrent.Future<java.lang.Object>ExcludeSessionBroadcaster. broadcast(java.lang.Object msg, java.util.Set<AtmosphereResource> subset)the AtmosphereResources subset will be exclude for this broadcastjava.util.concurrent.Future<java.lang.Object>SimpleBroadcaster. broadcast(java.lang.Object msg, java.util.Set<AtmosphereResource> subset) -
Uses of AtmosphereResource in org.atmosphere.websocket
Methods in org.atmosphere.websocket that return AtmosphereResource Modifier and Type Method Description AtmosphereResourceWebSocket. resource()Return the anAtmosphereResourceused 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 Modifier and Type Method Description WebSocketWebSocket. resource(AtmosphereResource r)Associate anAtmosphereResourceto this WebSocket
-