- All Known Implementing Classes:
Session
public interface IuSession
This interface represents session object .
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clearDetail
(Class<?> type) Clear session attributes<T> T
Get session attributesGet resource URIdefault boolean
Gets whether session object state changevoid
setStrict
(boolean strict) Set strict mode
-
Method Details
-
getDetail
Get session attributes- Type Parameters:
T
- type- Parameters:
type
- class- Returns:
- attributes for the session
-
clearDetail
Clear session attributes- Parameters:
type
- class
-
isChanged
default boolean isChanged()Gets whether session object state change- Returns:
- true if session object state has change, otherwise false;
-
setStrict
void setStrict(boolean strict) Set strict mode- Parameters:
strict
- strict mode
-
getResourceUri
URI getResourceUri()Get resource URI- Returns:
- resource URI
-