Package org.apache.struts2.action
Interface ParameterValueAware
public interface ParameterValueAware
This interface is implemented by actions that want to declare acceptable parameter values. Works in conjunction with
 
ParametersInterceptor. For example, actions may want to create a white list of parameter values they will
 accept or a blacklist of parameter values they will reject to prevent clients from setting other unexpected (and
 possibly dangerous) parameter values.- 
Method SummaryModifier and TypeMethodDescriptionbooleanacceptableParameterValue(String parameterValue) Tests if the action will accept the parameter with the given value.
- 
Method Details- 
acceptableParameterValueTests if the action will accept the parameter with the given value.- Parameters:
- parameterValue- the parameter value
- Returns:
- trueif accepted,- falseotherwise
 
 
-