Class RequestScope

    • Method Detail

      • getSessionID

        @Nonnull
        @Nonempty
        public final String getSessionID​(boolean bCreateIfNotExisting)
        Specified by:
        getSessionID in interface IRequestScope
        Parameters:
        bCreateIfNotExisting - if true a session ID is created if needed
        Returns:
        The session ID associated with this request. May be null if no session ID is present and no session should be created.
      • initScope

        public void initScope()
        Description copied from interface: IScope
        Init the scope. In contrast to the constructor of a scope, this happens after the scope has been registered in the scope manager.
        Specified by:
        initScope in interface IScope
      • preDestroy

        protected void preDestroy()
        Description copied from class: AbstractScope
        Override this method to perform further actions BEFORE the scope is destroyed. The state is "in pre destruction".
        Overrides:
        preDestroy in class AbstractScope
      • postDestroy

        protected void postDestroy()
        Description copied from class: AbstractScope
        Override this method to perform further actions AFTER the scope was destroyed. The state is "destroyed".
        Overrides:
        postDestroy in class AbstractScope