Uses of Interface
org.atmosphere.cpr.AtmosphereResource
Packages that use AtmosphereResource
Package
Description
-
Uses of AtmosphereResource in org.atmosphere.annotation
Method parameters in org.atmosphere.annotation with type arguments of type AtmosphereResourceModifier and TypeMethodDescriptionvoidAsyncSupportServiceProcessor.handle(AtmosphereFramework framework, Class<AsyncSupport<AtmosphereResource>> annotatedClass) -
Uses of AtmosphereResource in org.atmosphere.cache
Methods in org.atmosphere.cache with parameters of type AtmosphereResourceModifier and TypeMethodDescriptionAbstractBroadcasterCache.excludeFromCache(String broadcasterId, AtmosphereResource r) BoundedMemoryCache.excludeFromCache(String broadcasterId, AtmosphereResource r) DefaultBroadcasterCache.excludeFromCache(String broadcasterId, AtmosphereResource r) UUIDBroadcasterCache.excludeFromCache(String broadcasterId, AtmosphereResource r) protected StringUUIDBroadcasterCache.uuid(AtmosphereResource r) -
Uses of AtmosphereResource in org.atmosphere.client
Methods in org.atmosphere.client with parameters of type AtmosphereResourceModifier and TypeMethodDescriptionTrackMessageSizeFilter.filter(String broadcasterId, AtmosphereResource r, Object originalMessage, Object message) TrackMessageSizeInterceptor.inspect(AtmosphereResource r) -
Uses of AtmosphereResource in org.atmosphere.config.managed
Methods in org.atmosphere.config.managed with parameters of type AtmosphereResourceModifier and TypeMethodDescriptionvoidAnnotatedLifecycle.injectPathParams(Object target, AtmosphereResource resource, String pathTemplate, AtmosphereConfig config) Injects@PathParam-annotated fields on the target instance for the current request.ServiceInterceptor.inspect(AtmosphereResource r) ManagedServiceInterceptor.managed(AnnotatedProxy ap, AtmosphereResource r) voidAnnotatedLifecycle.onReady(Object target, AtmosphereResource resource) Invokes the@Ready-annotated method if present.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 AtmosphereResourceModifier and TypeInterfaceDescriptioninterfaceAsyncSupport<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 AtmosphereResourceModifier and TypeClassDescriptionclassFields in org.atmosphere.cpr declared as AtmosphereResourceFields in org.atmosphere.cpr with type parameters of type AtmosphereResourceModifier and TypeFieldDescriptionprotected final AtomicReference<AtmosphereResource> AtmosphereSession.resourceprotected final ConcurrentLinkedQueue<AtmosphereResource> DefaultBroadcaster.resourcesBackward-compatible reference to the underlying resource queue.protected final Set<AtmosphereResource> Deliver.resourcesMethods in org.atmosphere.cpr that return AtmosphereResourceModifier and TypeMethodDescriptionAtmosphereSession.acquire()Retrieve theAtmosphereResourceassociated with this session.AtmosphereResource.addBroadcaster(Broadcaster broadcaster) Add/Associate aBroadcasterwith this resource.AtmosphereResourceImpl.addBroadcaster(Broadcaster broadcaster) AtmosphereResource.addEventListener(AtmosphereResourceEventListener e) AtmosphereResourceImpl.addEventListener(AtmosphereResourceEventListener e) AtmosphereResourceFactory.create(AtmosphereConfig config, String uuid) Create anAtmosphereResourceassociated with the uuid.AtmosphereResourceFactory.create(AtmosphereConfig config, String uuid, AtmosphereRequest request) Create anAtmosphereResourceassociated with the uuid.AtmosphereResourceFactory.create(AtmosphereConfig config, AtmosphereRequest request, AtmosphereResponse response, AsyncSupport<?> a) Create anAtmosphereResourceImplAtmosphereResourceFactory.create(AtmosphereConfig config, AtmosphereResponse response, AsyncSupport<?> a) Create anAtmosphereResourceImpl.AtmosphereResourceFactory.create(AtmosphereConfig config, Broadcaster broadcaster, AtmosphereRequest request, AtmosphereResponse response, AsyncSupport<?> a, AtmosphereHandler handler) Create anAtmosphereResourceImpl.AtmosphereResourceFactory.create(AtmosphereConfig config, Broadcaster broadcaster, AtmosphereRequest request, AtmosphereResponse response, AsyncSupport<?> a, AtmosphereHandler handler, AtmosphereResource.TRANSPORT t) Create anAtmosphereResourceImpl.AtmosphereResourceFactory.create(AtmosphereConfig config, Broadcaster broadcaster, AtmosphereResponse response, AsyncSupport<?> a, AtmosphereHandler handler) Create anAtmosphereResourceImpl.AtmosphereResourceFactory.create(AtmosphereConfig config, Broadcaster broadcaster, AtmosphereResponse response, AsyncSupport<?> a, AtmosphereHandler handler, AtmosphereResource.TRANSPORT t) DefaultAtmosphereResourceFactory.create(AtmosphereConfig config, String uuid) Create anAtmosphereResourceassociated with the uuid.DefaultAtmosphereResourceFactory.create(AtmosphereConfig config, String uuid, AtmosphereRequest request) Create anAtmosphereResourceassociated with the uuid.DefaultAtmosphereResourceFactory.create(AtmosphereConfig config, AtmosphereRequest request, AtmosphereResponse response, AsyncSupport<?> a) Create anAtmosphereResourceImplDefaultAtmosphereResourceFactory.create(AtmosphereConfig config, AtmosphereResponse response, AsyncSupport<?> a) Create anAtmosphereResourceImpl.DefaultAtmosphereResourceFactory.create(AtmosphereConfig config, Broadcaster broadcaster, AtmosphereRequest request, AtmosphereResponse response, AsyncSupport<?> a, AtmosphereHandler handler) Create anAtmosphereResourceImpl.DefaultAtmosphereResourceFactory.create(AtmosphereConfig config, Broadcaster broadcaster, AtmosphereRequest request, AtmosphereResponse response, AsyncSupport<?> a, AtmosphereHandler handler, AtmosphereResource.TRANSPORT t) Create anAtmosphereResourceImpl.DefaultAtmosphereResourceFactory.create(AtmosphereConfig config, Broadcaster broadcaster, AtmosphereResponse response, AsyncSupport<?> a, AtmosphereHandler handler) Create anAtmosphereResourceImpl.DefaultAtmosphereResourceFactory.create(AtmosphereConfig config, Broadcaster broadcaster, AtmosphereResponse response, AsyncSupport<?> a, AtmosphereHandler handler, AtmosphereResource.TRANSPORT t) Deprecated.Deprecated.UseDefaultAtmosphereResourceFactory.findResource(String)which returnsOptionalinstead of null.AtmosphereResource.forceBinaryWrite(boolean force) Force binary write and never write String value.AtmosphereResourceImpl.forceBinaryWrite(boolean forceBinaryWrite) AtmosphereResourceEvent.getResource()Return theAtmosphereResourceassociated with this event.AtmosphereResourceEventImpl.getResource()Deliver.getResource()AtmosphereResource.initialize(AtmosphereConfig config, Broadcaster broadcaster, AtmosphereRequest req, AtmosphereResponse response, AsyncSupport<?> asyncSupport, AtmosphereHandler atmosphereHandler) Initialize anAtmosphereResource.AtmosphereResourceImpl.initialize(AtmosphereConfig config, Broadcaster broadcaster, AtmosphereRequest req, AtmosphereResponse response, AsyncSupport<?> asyncSupport, AtmosphereHandler atmosphereHandler) Initialize anAtmosphereResource.AtmosphereResource.notifyListeners()Notify allAtmosphereResourceEventListeners.AtmosphereResource.notifyListeners(AtmosphereResourceEvent e) Notify allAtmosphereResourceEventListener.AtmosphereResourceImpl.notifyListeners()AtmosphereResourceImpl.notifyListeners(AtmosphereResourceEvent event) BroadcasterMembership.poll()Poll the first resource (used for FIFO policy enforcement).Remove theAtmosphereResourcefrom all instances ofBroadcaster.Remove theAtmosphereResourcefrom all instances ofBroadcaster.AtmosphereResource.removeBroadcaster(Broadcaster broadcaster) Remove aBroadcasterwith this resource.AtmosphereResourceImpl.removeBroadcaster(Broadcaster broadcaster) AtmosphereResource.removeEventListener(AtmosphereResourceEventListener e) Remove aAtmosphereResourceEventListener.AtmosphereResourceImpl.removeEventListener(AtmosphereResourceEventListener e) AtmosphereResource.removeEventListeners()Remove allAtmosphereResourceEventListeners.AtmosphereResourceImpl.removeEventListeners()AtmosphereResource.removeFromAllBroadcasters()Remove thisAtmosphereResourcefrom allBroadcasterAtmosphereResourceImpl.removeFromAllBroadcasters()AtmosphereRequest.resource()TheAtmosphereResourceassociated with this request.AtmosphereRequestImpl.resource()AtmosphereResponse.resource()TheAtmosphereResourceassociated with this request.AtmosphereResponseImpl.resource()AtmosphereResource.resume()Complete theAtmosphereResponseand finish/commit it.AtmosphereResourceImpl.resume()AtmosphereResource.resumeOnBroadcast(boolean resumeOnBroadcast) Set to true to resume the response after the first broadcast.AtmosphereResourceImpl.resumeOnBroadcast(boolean resumeOnBroadcast) AtmosphereResource.setBroadcaster(Broadcaster broadcaster) Set the firstBroadcasterassociated with this resource.AtmosphereResourceImpl.setBroadcaster(Broadcaster broadcaster) AtmosphereResource.setSerializer(Serializer s) Set theSerializerto use whenwrite(java.lang.String)execute the operation.AtmosphereResourceImpl.setSerializer(Serializer s) Set theSerializerused to write broadcasted objects.AtmosphereResource.suspend()Suspend theAtmosphereResponseindefinitely.AtmosphereResource.suspend(long timeout) Suspend theAtmosphereResponse.Suspend theAtmosphereResponse.AtmosphereResourceImpl.suspend()AtmosphereResourceImpl.suspend(long timeout) AtmosphereSession.tryAcquire()Retrieve theAtmosphereResourceassociated with this session.AtmosphereSession.tryAcquire(int timeInSecond) Retrieve theAtmosphereResourceassociated with this session.protected AtmosphereResourceAtmosphereResourceImpl.uniqueBroadcaster(Broadcaster newB) AtmosphereResource.write(byte[] s) Write the bytes IfresumeOnBroadcast()is true, the underlying connection will be resumed (@link #resume());Write the String.AtmosphereResourceImpl.write(byte[] o) AtmosphereResource.writeOnTimeout(Object o) Set a message that will be written when the resource times out.AtmosphereResourceImpl.writeOnTimeout(Object o) Methods in org.atmosphere.cpr that return types with arguments of type AtmosphereResourceModifier and TypeMethodDescriptionAtmosphereResourceFactory.findAll()DefaultAtmosphereResourceFactory.findAll()default Optional<AtmosphereResource> AtmosphereResourceFactory.findResource(String uuid) Find anAtmosphereResourcebased on itsuuid().DefaultAtmosphereResourceFactory.findResource(String uuid) Find anAtmosphereResourcebased on itsuuid().Broadcaster.getAtmosphereResources()Return anListofAtmosphereResource.DefaultBroadcaster.getAtmosphereResources()BroadcasterMembership.getResources()Return an unmodifiable view of the resources collection.Deliver.getResources()BroadcasterMembership.iterator()Return an iterator over the resources.BroadcasterMembership.queue()Return the underlying concurrent queue.AtmosphereResourceFactory.resources()DefaultAtmosphereResourceFactory.resources()Methods in org.atmosphere.cpr with parameters of type AtmosphereResourceModifier and TypeMethodDescriptionvoidBroadcasterMembership.add(AtmosphereResource r) Add anAtmosphereResourceto the membership.Broadcaster.addAtmosphereResource(AtmosphereResource resource) Add aAtmosphereResourceto the list of items to be notified when theBroadcaster.broadcast(java.lang.Object)is invoked.DefaultBroadcaster.addAtmosphereResource(AtmosphereResource r) BroadcasterConfig.applyFilters(AtmosphereResource r, List<Object> cacheMessages) Apply all filters to theAtmosphereResourceand the providedListof messages.voidAtmosphereResourceFactory.Async.available(AtmosphereResource r) A stub representing anAtmosphereResourcelocated somewhere in a clusterBroadcaster.broadcast(Object o, AtmosphereResource resource) Broadcast theObjectto all suspended responses, eg.DefaultBroadcaster.broadcast(Object msg, AtmosphereResource r) protected voidDefaultBroadcaster.broadcastOnResume(AtmosphereResource r) DefaultBroadcaster.broadcastToAllExcept(Object msg, AtmosphereResource excluded) Broadcast to every resource of this Broadcaster butexcluded, such as a room message that skips its sender.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) AtmosphereResourceImpl.cloneState(AtmosphereResource r) booleanAsynchronousProcessor.completeLifecycle(AtmosphereResource r, boolean cancelled) Cancel or times out anAtmosphereResourceby invoking it's associatedAtmosphereHandler.onStateChange(AtmosphereResourceEvent)booleanBroadcasterMembership.contains(AtmosphereResource r) Check if the membership contains the givenAtmosphereResource.protected booleanDefaultBroadcaster.endBroadcast(Deliver deliver, AtmosphereResource r, CacheMessage cacheMsg, boolean deliverMessage) BroadcasterCache.excludeFromCache(String broadcasterId, AtmosphereResource r) Allow an application to exclude, or block, anAtmosphereResourceto received cached message.protected voidDefaultBroadcaster.executeBlockingWrite(AtmosphereResource r, Deliver deliver, AtomicInteger count) protected BroadcastFilter.BroadcastActionBroadcasterConfig.filter(AtmosphereResource r, Object message, Object originalMessage) InvokeBroadcastFilters in the order they were added, with a uniqueAtmosphereRequest.BroadcastFilterAdapter.filter(String broadcasterId, AtmosphereResource r, Object originalMessage, Object message) PerRequestBroadcastFilter.filter(String broadcasterId, AtmosphereResource r, Object originalMessage, Object message) Transform or filter a message perAtmosphereResource.AtmosphereResourceSessionFactory.getSession(AtmosphereResource resource) Returns the current session associated with theAtmosphereResource, or creates one if it does not yet exist.AtmosphereResourceSessionFactory.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.DefaultAtmosphereResourceSessionFactory.getSession(AtmosphereResource resource) DefaultAtmosphereResourceSessionFactory.getSession(AtmosphereResource r, boolean create) AtmosphereInterceptor.inspect(AtmosphereResource r) Invoked before anAtmosphereResourcegets dispatched toAtmosphereHandler.AtmosphereInterceptorAdapter.inspect(AtmosphereResource r) AsynchronousProcessor.invokeInterceptors(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(Throwable t, AtmosphereResource ar) voidDefaultBroadcaster.onException(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(List<AtmosphereInterceptor> c, AtmosphereResource r) protected voidDefaultBroadcaster.prepareInvokeOnStateChange(AtmosphereResource r, AtmosphereResourceEvent e) protected voidDefaultBroadcaster.queueWriteIO(AtmosphereResource r, Deliver deliver, 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.booleanBroadcasterMembership.remove(AtmosphereResource r) Remove anAtmosphereResourcefrom the membership.Broadcaster.removeAtmosphereResource(AtmosphereResource resource) Remove aAtmosphereResourcefrom the list of s to be notified when theBroadcaster.broadcast(java.lang.Object)is invoked.DefaultBroadcaster.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 AtmosphereResourceModifier and TypeMethodDescriptionBroadcaster.broadcast(Object o, Set<AtmosphereResource> subset) Broadcast theObjectto all suspended response, eg.DefaultBroadcaster.broadcast(Object msg, Set<AtmosphereResource> subset) Constructors in org.atmosphere.cpr with parameters of type AtmosphereResourceModifierConstructorDescriptionAsyncWriteToken(AtmosphereResource resource, Object msg, BroadcasterFuture<?> future, Object originalMessage, AtomicInteger count) AsyncWriteToken(AtmosphereResource resource, Object msg, BroadcasterFuture<?> future, Object originalMessage, CacheMessage cache, AtomicInteger count) AtmosphereSession(AtmosphereResource resource) Track the currentAtmosphereResourcewith all createdBroadcasterAtmosphereSession(AtmosphereResource r, Broadcaster... broadcasters) Deliver(Object message, AtmosphereResource r, BroadcasterFuture<?> future, Object originalMessage) Deliver(AtmosphereResource r, Deliver e) Deliver(AtmosphereResource r, Deliver e, CacheMessage cacheMessage) Deliver(Deliver.TYPE type, Object originalMessage, Object message, AtmosphereResource r, BroadcasterFuture<?> future, CacheMessage cache, boolean writeLocally, Set<AtmosphereResource> resources, boolean async) Constructor parameters in org.atmosphere.cpr with type arguments of type AtmosphereResourceModifierConstructorDescriptionDeliver(Object message, Set<AtmosphereResource> resources, BroadcasterFuture<?> future, Object originalMessage) Deliver(Deliver.TYPE type, Object originalMessage, Object message, AtmosphereResource r, BroadcasterFuture<?> future, CacheMessage cache, boolean writeLocally, Set<AtmosphereResource> resources, boolean async) -
Uses of AtmosphereResource in org.atmosphere.handler
Methods in org.atmosphere.handler with parameters of type AtmosphereResourceModifier and TypeMethodDescriptionvoidOnMessage.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) final voidOnMessage.onRequest(AtmosphereResource resource) voidReflectorServletProcessor.onRequest(AtmosphereResource r) Delegate the request to the Servlet.service method, and add theAtmosphereResourceto the}.invalid @link
{@link HttpServletRequest#setAttribute(java.lang.String, java.lang.Object)) -
Uses of AtmosphereResource in org.atmosphere.inject
Methods in org.atmosphere.inject that return AtmosphereResourceModifier and TypeMethodDescriptionAtmosphereResourceIntrospector.injectable(AtmosphereResource r) CallbackScope.Binding.resource()Returns the value of theresourcerecord component.static AtmosphereResourceCallbackScope.unwrap(AtmosphereResource resource) The object an injected proxy acts on now (see the class description).Methods in org.atmosphere.inject with parameters of type AtmosphereResourceModifier and TypeMethodDescriptionstatic CallbackScope.BindingCallbackScope.bind(AtmosphereResource resource, AtmosphereResourceEvent event) Run a callback ofresourceon the calling thread.AtmosphereRequestIntrospector.injectable(AtmosphereResource r) AtmosphereResourceEventIntrospector.injectable(AtmosphereResource r) AtmosphereResourceIntrospector.injectable(AtmosphereResource r) AtmosphereResponseIntrospector.injectable(AtmosphereResource r) BroadcasterIntrospector.injectable(AtmosphereResource r) InjectIntrospector.injectable(AtmosphereResource resource) Returns an instance of the TInjectIntrospectorAdapter.injectable(AtmosphereResource resource) PathParamIntrospector.injectable(AtmosphereResource r) voidInjectableObjectFactory.injectCallbackScoped(Object instance, AtmosphereResource r) Injectragain into the fields ofinstancethat resolve the resource of the callback running on the calling thread: itsAtmosphereResource, request, response and event fields, and only those.voidInjectableObjectFactory.requestScoped(Object instance, Class<?> defaultType, AtmosphereResource r) static AtmosphereResourceCallbackScope.unwrap(AtmosphereResource resource) The object an injected proxy acts on now (see the class description).Constructors in org.atmosphere.inject with parameters of type AtmosphereResourceModifierConstructorDescriptionBinding(AtmosphereResource resource, AtmosphereResourceEvent event, long since) Creates an instance of aBindingrecord class. -
Uses of AtmosphereResource in org.atmosphere.interceptor
Methods in org.atmosphere.interceptor with parameters of type AtmosphereResourceModifier and TypeMethodDescriptionHeartbeatInterceptor.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.AndroidAtmosphereInterceptor.inspect(AtmosphereResource r) AtmosphereResourceLifecycleInterceptor.inspect(AtmosphereResource r) Automatically suspend theAtmosphereResourcebased onAtmosphereResource.TRANSPORTvalue.AtmosphereResourceStateRecovery.inspect(AtmosphereResource r) AuthInterceptor.inspect(AtmosphereResource r) BackpressureInterceptor.inspect(AtmosphereResource r) BroadcastOnPostAtmosphereInterceptor.inspect(AtmosphereResource r) CacheHeadersInterceptor.inspect(AtmosphereResource r) CorsInterceptor.inspect(AtmosphereResource r) HeartbeatInterceptor.inspect(AtmosphereResource r) IdleResourceInterceptor.inspect(AtmosphereResource r) JavaScriptProtocol.inspect(AtmosphereResource ar) MDCInterceptor.inspect(AtmosphereResource r) MessageAckInterceptor.inspect(AtmosphereResource r) OnDisconnectInterceptor.inspect(AtmosphereResource r) PaddingAtmosphereInterceptor.inspect(AtmosphereResource r) RateLimitingInterceptor.inspect(AtmosphereResource r) SessionCreationInterceptor.inspect(AtmosphereResource r) SimpleRestInterceptor.inspect(AtmosphereResource r) SSEAtmosphereInterceptor.inspect(AtmosphereResource r) SuspendTrackerInterceptor.inspect(AtmosphereResource r) TrackMessageSizeB64Interceptor.inspect(AtmosphereResource r) WebSocketMessageSuspendInterceptor.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) voidAuthInterceptor.postInspect(AtmosphereResource r) voidBroadcastOnPostAtmosphereInterceptor.postInspect(AtmosphereResource r) voidMDCInterceptor.postInspect(AtmosphereResource r) voidRateLimitingInterceptor.postInspect(AtmosphereResource r) 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 AtmosphereResourceModifier and TypeMethodDescriptionvoidBroadcasterLifecyclePolicyHandler.onRemoveAtmosphereResource(Broadcaster b, AtmosphereResource r) Invoked when anAtmosphereResourceis getting removed to aBroadcaster. -
Uses of AtmosphereResource in org.atmosphere.metrics
Methods in org.atmosphere.metrics with parameters of type AtmosphereResourceModifier and TypeMethodDescriptionAtmosphereTracing.inspect(AtmosphereResource r) voidAtmosphereTracing.postInspect(AtmosphereResource r) -
Uses of AtmosphereResource in org.atmosphere.room
Methods in org.atmosphere.room that return AtmosphereResourceModifier and TypeMethodDescriptionPresenceEvent.member()Returns the value of thememberrecord component.Methods in org.atmosphere.room that return types with arguments of type AtmosphereResourceMethods in org.atmosphere.room with parameters of type AtmosphereResourceModifier and TypeMethodDescriptionDefaultRoom.broadcast(Object message, AtmosphereResource sender) Room.broadcast(Object message, AtmosphereResource sender) Broadcast a message to all members except the sender.booleanDefaultRoom.contains(AtmosphereResource resource) booleanRoom.contains(AtmosphereResource resource) Check if a resource is a member of this room.RoomInterceptor.inspect(AtmosphereResource r) RoomProtocolInterceptor.inspect(AtmosphereResource r) DefaultRoom.join(AtmosphereResource resource) DefaultRoom.join(AtmosphereResource resource, RoomMember member) Room.join(AtmosphereResource resource) Add a resource to this room.default RoomRoom.join(AtmosphereResource resource, RoomMember member) Add a resource to this room with application-level member info.DefaultRoom.leave(AtmosphereResource resource) Room.leave(AtmosphereResource resource) Remove a resource from this room.DefaultRoom.memberOf(AtmosphereResource resource) default Optional<RoomMember> Room.memberOf(AtmosphereResource resource) Retrieve theRoomMemberassociated with a resource, if present.Constructors in org.atmosphere.room with parameters of type AtmosphereResourceModifierConstructorDescriptionPresenceEvent(PresenceEvent.Type type, Room room, AtmosphereResource member) Convenience constructor without member info.PresenceEvent(PresenceEvent.Type type, Room room, AtmosphereResource member, RoomMember memberInfo) Creates an instance of aPresenceEventrecord class. -
Uses of AtmosphereResource in org.atmosphere.room.auth
Methods in org.atmosphere.room.auth with parameters of type AtmosphereResourceModifier and TypeMethodDescriptionbooleanRoomAuthorizer.authorize(AtmosphereResource resource, String roomName, RoomAction action) Check if the resource is authorized to perform the action in the room. -
Uses of AtmosphereResource in org.atmosphere.util
Methods in org.atmosphere.util that return AtmosphereResourceModifier and TypeMethodDescriptionstatic AtmosphereResourceUtils.websocketResource(AtmosphereResource r) Methods in org.atmosphere.util with parameters of type AtmosphereResourceModifier and TypeMethodDescriptionExcludeSessionBroadcaster.broadcast(Object msg, AtmosphereResource r) the AtmosphereResource r will be exclude for this broadcastSimpleBroadcaster.broadcast(Object msg, AtmosphereResource r) static voidIOUtils.deliver(Object o, DeliverTo deliverConfig, DeliverTo.DELIVER_TO defaultDeliver, AtmosphereResource r) Delivers the given message according to the specifiedinvalid input: 'configuration). </p> @param o the message @param deliverConfig the annotation state @param defaultDeliver the strategy applied if deliverConfig is {@code null} @param r the resource'static byte[]IOUtils.forceReadEntirelyAsByte(AtmosphereResource r) Reads request body as bytes without respectApplicationConfig.READ_GET_BODYparameterstatic voidUtils.inject(Object object, Class<?> clazz, AtmosphereResource r) static voidUtils.inject(AtmosphereResource r) protected voidSimpleBroadcaster.prepareInvokeOnStateChange(AtmosphereResource r, AtmosphereResourceEvent e) protected voidSimpleBroadcaster.queueWriteIO(AtmosphereResource r, Deliver deliver, AtomicInteger count) static ObjectIOUtils.readEntirely(AtmosphereResource r) static byte[]IOUtils.readEntirelyAsByte(AtmosphereResource r) static StringBuilderIOUtils.readEntirelyAsString(AtmosphereResource r) static StringIOUtils.readEntirelyAsString(AtmosphereResource r, int maxBytes) Reads the request body as text of at mostmaxBytesbytes, decoded strictly with the request's character encoding (UTF-8 when it names none).static StringUtils.transportName(AtmosphereResource r) The name of the transport a resource's client is connected with, for reports (admin, MCP, tracing, logs).static booleanUtils.webSocketMessage(AtmosphereResource r) static AtmosphereResourceUtils.websocketResource(AtmosphereResource r) Method parameters in org.atmosphere.util with type arguments of type AtmosphereResource -
Uses of AtmosphereResource in org.atmosphere.websocket
Methods in org.atmosphere.websocket that return AtmosphereResourceModifier and TypeMethodDescriptionWebSocket.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 AtmosphereResourceModifier and TypeMethodDescriptionWebSocket.resource(AtmosphereResource r) Associate anAtmosphereResourceto this WebSocket -
Uses of AtmosphereResource in org.atmosphere.webtransport
Methods in org.atmosphere.webtransport that return AtmosphereResourceMethods in org.atmosphere.webtransport with parameters of type AtmosphereResourceModifier and TypeMethodDescriptionWebTransportSession.resource(AtmosphereResource r) Associate anAtmosphereResourcewith this session.
AtmosphereResourceFactory.findResource(String)which returnsOptionalinstead of null.