Class BaseRestClient
- java.lang.Object
-
- org.apache.syncope.client.enduser.rest.BaseRestClient
-
- All Implemented Interfaces:
Serializable,RestClient
- Direct Known Subclasses:
AbstractAnyRestClient,AnyTypeRestClient,SchemaRestClient,SecurityQuestionRestClient,SyncopeRestClient,UserSelfRestClient
public abstract class BaseRestClient extends Object implements RestClient
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.slf4j.LoggerLOG
-
Constructor Summary
Constructors Constructor Description BaseRestClient()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static <E extends org.apache.syncope.common.rest.api.service.JAXRSService,T>
TgetObject(E service, URI location, Class<T> resultClass)protected static <T> TgetService(Class<T> serviceClass)protected static <T> TgetService(String etag, Class<T> serviceClass)protected static StringgetStatus(int httpStatus)static org.apache.syncope.common.rest.api.service.SyncopeServicegetSyncopeService()protected static <T> voidresetClient(Class<T> serviceClass)static StringtoOrderBy(org.apache.wicket.extensions.markup.html.repeater.util.SortParam<String> sort)
-
-
-
Method Detail
-
getSyncopeService
public static org.apache.syncope.common.rest.api.service.SyncopeService getSyncopeService()
-
getService
protected static <T> T getService(Class<T> serviceClass)
-
resetClient
protected static <T> void resetClient(Class<T> serviceClass)
-
toOrderBy
public static String toOrderBy(org.apache.wicket.extensions.markup.html.repeater.util.SortParam<String> sort)
-
getObject
protected static <E extends org.apache.syncope.common.rest.api.service.JAXRSService,T> T getObject(E service, URI location, Class<T> resultClass)
-
getStatus
protected static String getStatus(int httpStatus)
-
-