public interface PolicyRestInterfaceIfc
Modifier and Type | Method and Description |
---|---|
<T> void |
Delete(T t,
RequestDetails r,
String sourceID,
String path,
RestObject<T> restObject)
Delete.
|
<T> void |
Get(T t,
String sourceId,
String path,
RestObject<T> restObject)
Gets the.
|
void |
initRestClient()
Inits the rest client.
|
void |
logRequest(RequestDetails r)
Log request.
|
<T> void |
Post(T t,
org.json.simple.JSONObject r,
String sourceID,
String path,
RestObject<T> restObject)
Post.
|
void initRestClient()
<T> void Get(T t, String sourceId, String path, RestObject<T> restObject) throws Exception
T
- the generic typet
- the tsourceId
- the source idpath
- the pathrestObject
- the rest objectException
- the exception<T> void Delete(T t, RequestDetails r, String sourceID, String path, RestObject<T> restObject) throws Exception
T
- the generic typet
- the tr
- the rsourceID
- the source IDpath
- the pathrestObject
- the rest objectException
- the exception<T> void Post(T t, org.json.simple.JSONObject r, String sourceID, String path, RestObject<T> restObject) throws Exception
T
- the generic typet
- the tr
- the rsourceID
- the source IDpath
- the pathrestObject
- the rest objectException
- the exceptionvoid logRequest(RequestDetails r)
r
- the rCopyright © 2017. All rights reserved.