Interface BaseSession
- All Known Implementing Classes:
SyncopeConsoleSession,SyncopeEnduserSession
public interface BaseSession
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescription<T> Future<T> <T> TgetAnonymousService(Class<T> serviceClass) getJWT()<T> TgetService(Class<T> serviceClass) <T> TgetService(String etag, Class<T> serviceClass) voidExtract and localize (if translation available) the actual message from the given exception; then, report it viaSession.error(java.io.Serializable).<T> voidresetClient(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
-