org.apache.struts2.interceptor

## Interface RequestAware

-     public interface RequestAware

  Actions that want access to the current servlet request attributes should implement this interface.

  This interface is only relevant if the Action is used in a servlet environment.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `setRequest(Map<String,Object> request)` Sets the Map of request attributes in the implementing class.

- - ### Method Detail

    - #### setRequest

          void setRequest(Map<String,Object> request)

      Sets the Map of request attributes in the implementing class.
      Parameters:
        `request` - a Map of HTTP request attribute name/value pairs.

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