Interface SessionResolver

All Known Implementing Classes:
SessionResolverImpl

public interface SessionResolver
Used with SessionsCtrl.setCurrent(SessionResolver) to resolve a session dynamically.
Since:
5.0.0
Author:
tomyeh
  • Method Summary

    Modifier and Type
    Method
    Description
    getSession(boolean create)
    Returns the session, or null if no session available and create is false.
  • Method Details

    • getSession

      Session getSession(boolean create)
      Returns the session, or null if no session available and create is false.
      Parameters:
      create - whether to create the session if not found. If true, a new session will be create if there is no one available.