Class BaseRestClient
- java.lang.Object
-
- org.apache.syncope.client.enduser.rest.BaseRestClient
-
- All Implemented Interfaces:
Serializable
,RestClient
- Direct Known Subclasses:
AbstractAnyRestClient
,AnyTypeRestClient
,BpmnProcessRestClient
,SchemaRestClient
,SecurityQuestionRestClient
,SyncopeRestClient
,UserRequestRestClient
,UserSelfRestClient
public abstract class BaseRestClient extends Object implements RestClient
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BaseRestClient()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected <E extends JAXRSService,T>
TgetObject(E service, URI location, Class<T> resultClass)
protected <T> T
getService(Class<T> serviceClass)
protected <T> T
getService(String etag, Class<T> serviceClass)
protected String
getStatus(int httpStatus)
SyncopeService
getSyncopeService()
protected <T> void
resetClient(Class<T> serviceClass)
String
toOrderBy(SortParam<String> sort)
-
-
-
Field Detail
-
LOG
protected static final Logger LOG
-
-
Method Detail
-
getSyncopeService
public SyncopeService getSyncopeService()
-
getService
protected <T> T getService(Class<T> serviceClass)
-
resetClient
protected <T> void resetClient(Class<T> serviceClass)
-
getObject
protected <E extends JAXRSService,T> T getObject(E service, URI location, Class<T> resultClass)
-
getStatus
protected String getStatus(int httpStatus)
-
-