org.primefaces.push
Class DefaultPushRule
java.lang.Object
org.primefaces.push.DefaultPushRule
- All Implemented Interfaces:
- PushRule
public class DefaultPushRule
- extends Object
- implements PushRule
The Default PushRule
that creates channel based on the AtmosphereRequest.getPathInfo()
.
Method Summary |
boolean |
apply(org.atmosphere.cpr.AtmosphereResource resource)
Creates channel (named Broadcaster in Atmosphere) based on the AtmosphereRequest.getPathInfo() |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultPushRule
public DefaultPushRule()
apply
public boolean apply(org.atmosphere.cpr.AtmosphereResource resource)
- Creates channel (named
Broadcaster
in Atmosphere) based on the AtmosphereRequest.getPathInfo()
- Specified by:
apply
in interface PushRule
- Parameters:
resource
- An AtmosphereResource
- Returns:
Copyright © 2013. All Rights Reserved.