org.apache.struts2.interceptor

## Interface ServletRequestAware

- All Superinterfaces:
    ServletRequestAware
  All Known Subinterfaces:
    RequestAware

  Deprecated.

      @Deprecated
      public interface ServletRequestAware
      extends ServletRequestAware

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods
    Modifier and Type | Method and Description
    --- | ---
    `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

          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.

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