org.atmosphere.cpr
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(AtmosphereResource r,
Object originalMessage,
Object message)
Transform or filter a message per
AtmosphereResource. |
filterBroadcastFilter.BroadcastAction filter(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.r - message - a messageoriginalMessage - The original message used when calling Broadcaster.broadcast(Object)BroadcastActionCopyright © 2014. All Rights Reserved.