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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(ScriptContext context) Applies the filter.voidinit(String name, Properties props) Initializes the filter.
-
Constructor Details
-
TestFilter
public TestFilter()
-
-
Method Details
-
init
Initializes the filter.- Specified by:
initin interfaceScriptContextFilter- Parameters:
name- The name of the filterprops- The properties
-
apply
Applies the filter.- Specified by:
applyin interfaceScriptContextFilter- Parameters:
context- The scripting context- Returns:
- The scripting context
-