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 Type
  Method
  Description
  `void`
  `withParameters(HttpParameters parameters)`
  Sets the HTTP parameters in the implementing class.

- ## Method Details

  - ### withParameters

    void withParameters(HttpParameters parameters)
    Sets the HTTP parameters in the implementing class.
    Parameters:
      `parameters` - an instance of `HttpParameters`.