org.apache.struts2.action

## Interface ParametersAware

- All Known Subinterfaces:
    HttpParametersAware, ParameterAware

      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

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `withParameters(HttpParameters parameters)` Sets the HTTP parameters in the implementing class.

- - ### Method Detail

    - #### withParameters

          void withParameters(HttpParameters parameters)

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

Copyright © 2000–2025 Apache Software Foundation. All rights reserved.