Package org.apache.syncope.wa.bootstrap
Class WARestClient
- java.lang.Object
-
- org.apache.syncope.wa.bootstrap.WARestClient
-
public class WARestClient extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected StringanonymousKeyprotected StringanonymousUserprotected static LoggerLOGprotected StringserviceDiscoveryAddressprotected Map<Class<?>,Object>servicesprotected booleanuseGZIPCompression
-
Constructor Summary
Constructors Constructor Description WARestClient(String anonymousUser, String anonymousKey, boolean useGZIPCompression, String serviceDiscoveryAddress)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Optional<NetworkService>getCore()<T> TgetService(Class<T> serviceClass)SyncopeClientgetSyncopeClient()booleanisReady()
-
-
-
Method Detail
-
getCore
protected Optional<NetworkService> getCore()
-
getSyncopeClient
public SyncopeClient getSyncopeClient()
-
getService
public <T> T getService(Class<T> serviceClass)
-
isReady
public boolean isReady()
-
-