Package org.apache.struts.scripting
Class TestFilter
java.lang.Object
org.apache.struts.scripting.TestFilter
- All Implemented Interfaces:
ScriptContextFilter
Tests to make sure the filtering system is working.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapply
(ScriptContext context) Applies the filter.void
init
(String name, Properties props) Initializes the filter.
-
Constructor Details
-
TestFilter
public TestFilter()
-
-
Method Details
-
init
Initializes the filter.- Specified by:
init
in interfaceScriptContextFilter
- Parameters:
name
- The name of the filterprops
- The properties
-
apply
Applies the filter.- Specified by:
apply
in interfaceScriptContextFilter
- Parameters:
context
- The scripting context- Returns:
- The scripting context
-