public class MsoLocalClient extends Object implements MsoRestInterfaceIfc
Constructor and Description |
---|
MsoLocalClient()
Instantiates a new mso rest interface.
|
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 |
initMsoClient()
Inits the rest client.
|
void |
logRequest(RequestDetails r)
Log request.
|
<T> void |
Post(T t,
RequestDetails r,
String sourceID,
String path,
RestObject<T> restObject)
Post.
|
<T> void |
Put(T t,
ChangeManagementRequest r,
String sourceID,
String path,
RestObject<T> restObject)
Put.
|
public void initMsoClient()
MsoRestInterfaceIfc
initMsoClient
in interface MsoRestInterfaceIfc
public <T> void Get(T t, String sourceId, String path, RestObject<T> restObject) throws Exception
MsoRestInterfaceIfc
Get
in interface MsoRestInterfaceIfc
T
- the generic typet
- the tsourceId
- the source idpath
- the pathrestObject
- the rest objectException
- the exceptionpublic <T> void Delete(T t, RequestDetails r, String sourceID, String path, RestObject<T> restObject) throws Exception
MsoRestInterfaceIfc
Delete
in interface MsoRestInterfaceIfc
T
- the generic typet
- the tr
- the rsourceID
- the source IDpath
- the pathrestObject
- the rest objectException
- the exceptionpublic <T> void Post(T t, RequestDetails r, String sourceID, String path, RestObject<T> restObject) throws Exception
MsoRestInterfaceIfc
Post
in interface MsoRestInterfaceIfc
T
- the generic typet
- the tr
- the rsourceID
- the source IDpath
- the pathrestObject
- the rest objectException
- the exceptionpublic void logRequest(RequestDetails r)
MsoRestInterfaceIfc
logRequest
in interface MsoRestInterfaceIfc
r
- the rpublic <T> void Put(T t, ChangeManagementRequest r, String sourceID, String path, RestObject<T> restObject) throws Exception
MsoRestInterfaceIfc
Put
in interface MsoRestInterfaceIfc
T
- the generic typet
- the tr
- the rsourceID
- the source IDpath
- the pathrestObject
- the rest objectException
- the exceptionCopyright © 2017. All rights reserved.