- All Known Implementing Classes:
Session
public interface IuSession
This interface represents session object .
-
Method Summary
Modifier and TypeMethodDescriptionvoidclearDetail(Class<?> type) Clear session attributes<T> TGet session attributesGet resource URIdefault booleanGets whether session object state changevoidsetStrict(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
-