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 Static Methods Concrete Methods Modifier and Type Method Description protected static <E extends JAXRSService,T>
TgetObject(E service, URI location, Class<T> resultClass)
protected static <T> T
getService(Class<T> serviceClass)
protected static <T> T
getService(String etag, Class<T> serviceClass)
protected static String
getStatus(int httpStatus)
static SyncopeService
getSyncopeService()
protected static <T> void
resetClient(Class<T> serviceClass)
static String
toOrderBy(SortParam<String> sort)
-
-
-
Field Detail
-
LOG
protected static final Logger LOG
-
-
Method Detail
-
getSyncopeService
public static SyncopeService getSyncopeService()
-
getService
protected static <T> T getService(Class<T> serviceClass)
-
resetClient
protected static <T> void resetClient(Class<T> serviceClass)
-
getObject
protected static <E extends JAXRSService,T> T getObject(E service, URI location, Class<T> resultClass)
-
getStatus
protected static String getStatus(int httpStatus)
-
-