Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.struts2.interceptor
Interface SessionAware

    public interface SessionAware

Actions that want access to the user's HTTP session attributes should implement this interface.

This will give them access to a Map where they can put objects that can be made available to subsequent requests.

Typical uses may be cached user data such as name, or a shopping cart.

Method Summary
`void` | `setSession(Map<String,Object> session)` Sets the Map of session attributes in the implementing class.

Method Detail

### setSession

    void setSession(Map<String,Object> session)

  Sets the Map of session attributes in the implementing class.

  Parameters:
    `session` - a Map of HTTP session attribute name/value pairs.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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