Package com.helger.web.scope
Interface ISessionWebScope
-
- All Superinterfaces:
com.helger.datetime.domain.IHasCreationDateTime,com.helger.commons.id.IHasID<String>,com.helger.scope.IScope,com.helger.scope.ISessionScope,IWebScope
- All Known Implementing Classes:
SessionWebScope
public interface ISessionWebScope extends com.helger.scope.ISessionScope, IWebScope
Interface for a single session scope object.- Author:
- Philip Helger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description jakarta.servlet.http.HttpSessiongetSession()Get the underlying HTTP session.-
Methods inherited from interface com.helger.datetime.domain.IHasCreationDateTime
getCreationDate, getCreationTime, hasCreationDateTime, isCreatedAt
-
Methods inherited from interface com.helger.scope.IScope
attrs, destroyScope, getAllScopeRenewalAwareAttributes, getID, initScope, isDestroyed, isInDestruction, isValid, runAtomic, runAtomic
-
Methods inherited from interface com.helger.web.scope.IWebScope
getCreationDateTime
-
-
-
-
Method Detail
-
getSession
@Nonnull jakarta.servlet.http.HttpSession getSession()
Get the underlying HTTP session. Important: do not use it to access the attributes within the session. Use only the scope API for this, so that the synchronization is consistent!- Returns:
- The underlying HTTP session. Never
null.
-
-