org.primefaces.push
Class DefaultPushRule

java.lang.Object
  extended by 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().


Constructor Summary
DefaultPushRule()
           
 
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
 

Constructor Detail

DefaultPushRule

public DefaultPushRule()
Method Detail

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.