public interface BaseSession
| Modifier and Type | Interface and Description |
|---|---|
static class |
BaseSession.Error |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
getAnonymousService(Class<T> serviceClass) |
org.apache.commons.lang3.time.FastDateFormat |
getDateFormat() |
String |
getDomain() |
org.apache.syncope.common.lib.to.UserTO |
getSelfTO() |
<T> T |
getService(Class<T> serviceClass) |
<T> T |
getService(String etag,
Class<T> serviceClass) |
void |
invalidate() |
boolean |
isAuthenticated() |
void |
onException(Exception e)
Extract and localize (if translation available) the actual message from the given exception; then, report it
via
Session.error(java.io.Serializable). |
<T> void |
resetClient(Class<T> service) |
void |
setDomain(String domain) |
void setDomain(String domain)
String getDomain()
<T> T getAnonymousService(Class<T> serviceClass)
<T> T getService(Class<T> serviceClass)
<T> void resetClient(Class<T> service)
void invalidate()
boolean isAuthenticated()
org.apache.syncope.common.lib.to.UserTO getSelfTO()
org.apache.commons.lang3.time.FastDateFormat getDateFormat()
void onException(Exception e)
Session.error(java.io.Serializable).e - raised exceptionRestClientExceptionMapperCopyright © 2020–2023. All rights reserved.