org.apache.struts2.interceptor

## Interface RequestAware

- All Superinterfaces:
    ServletRequestAware

  Deprecated.

      @Deprecated
      public interface RequestAware
      extends ServletRequestAware

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `setRequest(Map<String,Object> request)` Deprecated.
    `default void` | `setServletRequest(javax.servlet.http.HttpServletRequest httpServletRequest)` Deprecated.
    `default void` | `withServletRequest(javax.servlet.http.HttpServletRequest request)` Deprecated. Applies the HTTP request object in implementing classes.

- - ### Method Detail

    - #### setServletRequest

          default void setServletRequest(javax.servlet.http.HttpServletRequest httpServletRequest)

      Deprecated.

    - #### withServletRequest

          default void withServletRequest(javax.servlet.http.HttpServletRequest request)

      Deprecated.
      Description copied from interface: `ServletRequestAware`
      Applies the HTTP request object in implementing classes.
      Specified by:
        `withServletRequest` in interface `ServletRequestAware`
      Parameters:
        `request` - the HTTP request.

    - #### setRequest

          void setRequest(Map<String,Object> request)

      Deprecated.

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