org.apache.struts2.interceptor

## Interface ServletRequestAware

- Deprecated.
  please use `ServletRequestAware` instead

      @Deprecated
      public interface ServletRequestAware

  All Actions that want to have access to the servlet request object must implement this interface.

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

  Note that using this interface makes the Action tied to a servlet environment, so it should be avoided if possible since things like unit testing will become more difficult.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Deprecated Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `setServletRequest(javax.servlet.http.HttpServletRequest request)` Deprecated. please use `ServletRequestAware.withServletRequest(HttpServletRequest)`

- - ### Method Detail

    - #### setServletRequest

          @Deprecated
          void setServletRequest(javax.servlet.http.HttpServletRequest request)

      Deprecated. please use `ServletRequestAware.withServletRequest(HttpServletRequest)`
      Sets the HTTP request object in implementing classes.
      Parameters:
        `request` - the HTTP request.

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