public interface PerRequestBroadcastFilter extends BroadcastFilter
BroadcastFilter that can be used to filter based on AtmosphereResource.BroadcastFilter.BroadcastActionVOID_ATMOSPHERE_RESOURCE_UUID| Modifier and Type | Method and Description |
|---|---|
BroadcastFilter.BroadcastAction |
filter(String broadcasterId,
AtmosphereResource r,
Object originalMessage,
Object message)
Transform or filter a message per
AtmosphereResource. |
filterBroadcastFilter.BroadcastAction filter(String broadcasterId, AtmosphereResource r, Object originalMessage, Object message)
AtmosphereResource. Be careful when setting headers on the
AtmosphereResponse as the headers may have been already sent back to the browser.broadcasterId - the Broadcaster.getID()r - the AtmosphereResourceoriginalMessage - The original message used when calling Broadcaster.broadcast(Object)message - a messageBroadcastActionCopyright © 2016. All rights reserved.