Package org.apache.struts2.action
Interface ParametersAware
public interface ParametersAware
This interface gives actions an alternative way of receiving input parameters. The parameters will
contain all input parameters as implementation of
Parameter.
Actions that need this should simply implement it.
One common use for this is to have the action propagate parameters to internally instantiated data
objects.- Since:
- 6.0.0
-
Method Summary
Modifier and TypeMethodDescriptionvoidwithParameters(HttpParameters parameters) Sets the HTTP parameters in the implementing class.
-
Method Details
-
withParameters
Sets the HTTP parameters in the implementing class.- Parameters:
parameters- an instance ofHttpParameters.
-