Interface Session<C extends BackendClient<S>, S>

Type Parameters:
C - the type of the BackendClient of a Session
S - the type of the application service of the parent Application of the parent BackendClient of a Session
All Superinterfaces:
AlivenessRequestable, ClientComponent<C>, Refreshable
All Known Implementing Classes:
AbstractSession, AbstractWebClientSession, TestSession, UnderConstructionPageSession, WebClientSession

public interface Session<C extends BackendClient<S>, S> extends AlivenessRequestable, ClientComponent<C>, Refreshable
Author:
Silvan Wyss
  • Method Details

    • getApplicationName

      String getApplicationName()
      Returns:
      the name of the parent Application of the parent BackendClient of the current Session.
    • getStoredApplicationService

      S getStoredApplicationService()
      Returns:
      the application service of the parent Application of the parent BackendClient of the current Session.
    • hasUnderlyingSession

      boolean hasUnderlyingSession()
      Returns:
      true if the current Session has a underlying Session, false otherwise
    • pop

      void pop()
      Pops the current Session from its parent BackendClient.
    • popWithResult

      void popWithResult(Object result)
      Pops the current Session from its parent BackendClient with the given result.
      Parameters:
      result -
      Throws:
      RuntimeException - if the given result is null