org.apache.struts2.interceptor

## Interface ServletResponseAware

- Deprecated.
  please use `ServletResponseAware` instead

      @Deprecated
      public interface ServletResponseAware

  All Actions that want to have access to the servlet response 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` | `setServletResponse(javax.servlet.http.HttpServletResponse response)` Deprecated. please use `ServletResponseAware.withServletResponse(HttpServletResponse)` instead

- - ### Method Detail

    - #### setServletResponse

          @Deprecated
          void setServletResponse(javax.servlet.http.HttpServletResponse response)

      Deprecated. please use `ServletResponseAware.withServletResponse(HttpServletResponse)` instead
      Sets the HTTP response object in implementing classes.
      Parameters:
        `response` - the HTTP response.

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