public class AbstractProxy extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractProxy(org.gcube.spatial.data.clients.model.ConnectionDescriptor conn) |
| Modifier and Type | Method and Description |
|---|---|
protected static <T> T |
check(org.gcube.common.gxrest.response.inbound.GXInboundResponse resp,
Class<T> clazz) |
protected void |
delete(String path) |
protected String |
get(String path) |
protected <T> T |
get(String path,
Class<T> clazz) |
protected <T> T |
makeCall(org.gcube.common.clients.Call<org.gcube.common.gxrest.request.GXWebTargetAdapterRequest,T> call) |
protected void |
post(String path,
javax.ws.rs.client.Entity<?> entity) |
protected <T> T |
post(String path,
javax.ws.rs.client.Entity<?> entity,
Class<T> returnClazz) |
protected void |
post(String path,
Object obj) |
protected void |
register(Class<?> providerClass) |
protected void |
register(Object provider) |
protected org.gcube.common.gxrest.request.GXWebTargetAdapterRequest |
resolve() |
protected AbstractProxy(org.gcube.spatial.data.clients.model.ConnectionDescriptor conn)
protected void register(Class<?> providerClass)
protected void register(Object provider)
protected org.gcube.common.gxrest.request.GXWebTargetAdapterRequest resolve()
throws UnsupportedEncodingException
UnsupportedEncodingExceptionprotected <T> T makeCall(org.gcube.common.clients.Call<org.gcube.common.gxrest.request.GXWebTargetAdapterRequest,T> call)
throws Exception
Exceptionprotected void post(String path, javax.ws.rs.client.Entity<?> entity) throws Exception
Exceptionprotected <T> T post(String path, javax.ws.rs.client.Entity<?> entity, Class<T> returnClazz) throws Exception
Exceptionprotected static <T> T check(org.gcube.common.gxrest.response.inbound.GXInboundResponse resp,
Class<T> clazz)
throws org.gcube.spatial.data.sdi.model.faults.RemoteException
org.gcube.spatial.data.sdi.model.faults.RemoteExceptionCopyright © 2022. All Rights Reserved.