Allow access to session attributes from MVC route.
public String method(@SessionParam String userId) {
...
}
See Session.toMap()
.-
Optional Element Summary
-
Element Details
-
value
String valueSession attribute's name.- Returns:
- Session attribute's name.
- Default:
- ""
-