org.directwebremoting.extend
Class IdScriptSessionFilter

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

public class IdScriptSessionFilter
extends java.lang.Object
implements ScriptSessionFilter

A ScriptSessionFilter that only allows ScriptSessions that match the given session id.

Author:
Joe Walker [joe at getahead dot ltd dot uk]

Constructor Summary
IdScriptSessionFilter(java.lang.String id)
           
 
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

IdScriptSessionFilter

public IdScriptSessionFilter(java.lang.String id)
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