org.apache.struts2.interceptor

## Interface ServletResponseAware

- All Superinterfaces:
    ServletResponseAware

  Deprecated.

      @Deprecated
      public interface ServletResponseAware
      extends ServletResponseAware

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `setServletResponse(javax.servlet.http.HttpServletResponse httpServletResponse)` Deprecated.
    `default void` | `withServletResponse(javax.servlet.http.HttpServletResponse response)` Deprecated. Applies the HTTP response object in implementing classes.

- - ### Method Detail

    - #### setServletResponse

          void setServletResponse(javax.servlet.http.HttpServletResponse httpServletResponse)

      Deprecated.

    - #### withServletResponse

          default void withServletResponse(javax.servlet.http.HttpServletResponse response)

      Deprecated.
      Description copied from interface: `ServletResponseAware`
      Applies the HTTP response object in implementing classes.
      Specified by:
        `withServletResponse` in interface `ServletResponseAware`
      Parameters:
        `response` - the HTTP response.

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