org.apache.struts2.interceptor

## Interface SessionAware

- All Superinterfaces:
    SessionAware

  Deprecated.

      @Deprecated
      public interface SessionAware
      extends SessionAware

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `setSession(Map<String,Object> session)` Deprecated.
    `default void` | `withSession(Map<String,Object> session)` Deprecated. Applies the Map of session attributes in the implementing class.

- - ### Method Detail

    - #### setSession

          void setSession(Map<String,Object> session)

      Deprecated.

    - #### withSession

          default void withSession(Map<String,Object> session)

      Deprecated.
      Description copied from interface: `SessionAware`
      Applies the Map of session attributes in the implementing class.
      Specified by:
        `withSession` in interface `SessionAware`
      Parameters:
        `session` - a Map of HTTP session attribute name/value pairs.

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