Interface BaseSession
- All Known Implementing Classes:
SyncopeConsoleSession
,SyncopeEnduserSession
public interface BaseSession
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescription<T> Future
<T> <T> T
getAnonymousService
(Class<T> serviceClass) getJWT()
<T> T
getService
(Class<T> serviceClass) <T> T
getService
(String etag, Class<T> serviceClass) void
Extract and localize (if translation available) the actual message from the given exception; then, report it viaSession.error(java.io.Serializable)
.<T> void
resetClient
(Class<T> service) void
-
Method Details
-
setDomain
-
getDomain
String getDomain() -
getJWT
String getJWT() -
getAnonymousClient
SyncopeAnonymousClient getAnonymousClient() -
getAnonymousService
-
getService
-
getService
-
resetClient
-
getDateFormat
DateOps.Format getDateFormat() -
onException
Extract and localize (if translation available) the actual message from the given exception; then, report it viaSession.error(java.io.Serializable)
.- Parameters:
e
- raised exception- See Also:
-
execute
-
getSupportedLocales
-