org.directwebremoting.extend
Class AndScriptSessionFilter

java.lang.Object
  extended by org.directwebremoting.extend.AndScriptSessionFilter
All Implemented Interfaces:
ScriptSessionFilter

public class AndScriptSessionFilter
extends java.lang.Object
implements ScriptSessionFilter

A ScriptSessionFilter that only allows ScriptSessions that match pass both the given ScriptSessionFilters


Constructor Summary
AndScriptSessionFilter(ScriptSessionFilter left, ScriptSessionFilter right)
           
 
Method Summary
 boolean match(ScriptSession session)
          Does this ScriptSession match according to the matching pattern declared by this filter.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AndScriptSessionFilter

public AndScriptSessionFilter(ScriptSessionFilter left,
                              ScriptSessionFilter right)
Method Detail

match

public boolean match(ScriptSession session)
Description copied from interface: ScriptSessionFilter
Does this ScriptSession match according to the matching pattern declared by this filter.

Specified by:
match in interface ScriptSessionFilter
Parameters:
session - The ScriptSession to check for a match
Returns:
true if the session matches, false otherwise

Copyright 2008