public class Invoker extends Object
| Constructor and Description |
|---|
Invoker() |
| Modifier and Type | Method and Description |
|---|---|
static ResponseModel |
invokeRestFasync(RequestModel requestModel)
以全異步模式(fasync)調用服務池(RESTful)
|
static ResponseModel |
invokeRestFasync(RequestModel requestModel,
String callbackId)
以全異步模式(fasync)調用服務池(RESTful) 以DWEAI實作callback的請使用此method進行調用
|
static ResponseModel |
invokeRestFasync(RequestModel requestModel,
String callbackId,
Map<String,String> parentCallbackHeaders)
以全異步模式(fasync)調用服務池(RESTful) 以DWEAI實作全異步調用鍊的請使用此method進行調用
|
static ResponseModel |
invokeRestFasync(String hostProd,
String hostVer,
String hostId,
String hostAcct,
String tenantId,
String serviceProd,
String serviceProdUid,
String serviceName,
Map<String,String> datakeys,
Map<String,String> headers,
String bodyJsonString)
Deprecated.
|
static ResponseModel |
invokeRestFasync(String hostProd,
String hostVer,
String hostId,
String hostAcct,
String tenantId,
String serviceProd,
String serviceProdUid,
String serviceName,
Map<String,String> datakeys,
Map<String,String> headers,
String bodyJsonString,
Map<String,String> eocIds)
Deprecated.
|
static ResponseModel |
invokeRestSync(RequestModel requestModel)
以同步模式(sync)調用服務池(RESTful)
|
static String |
invokeRestSync(String hostProd,
String hostVer,
String hostId,
String hostAcct,
String tenantId,
String serviceProd,
String serviceProdUid,
String serviceName,
Map<String,String> datakeys,
Map<String,String> headers,
String bodyJsonString)
Deprecated.
|
static String |
invokeRestSync(String hostProd,
String hostVer,
String hostId,
String hostAcct,
String tenantId,
String serviceProd,
String serviceProdUid,
String serviceName,
Map<String,String> datakeys,
Map<String,String> headers,
String bodyJsonString,
Map<String,String> eocIds)
Deprecated.
|
@Deprecated public static String invokeRestSync(String hostProd, String hostVer, String hostId, String hostAcct, String tenantId, String serviceProd, String serviceProdUid, String serviceName, Map<String,String> datakeys, Map<String,String> headers, String bodyJsonString) throws Exception
hostProd - 發起方產品hostVer - 發起方產品版本號hostId - 發起方產品識別碼(ID)hostAcct - 應用程式帳戶資訊tenantId - 租戶IDserviceProd - 服務方產品serviceProdUid - 服務方產品唯一識別碼(UID)serviceName - 調用服務名稱datakeys - datakeyheaders - 自定義headerbodyJsonString - 應用內容Json字串Exception@Deprecated public static String invokeRestSync(String hostProd, String hostVer, String hostId, String hostAcct, String tenantId, String serviceProd, String serviceProdUid, String serviceName, Map<String,String> datakeys, Map<String,String> headers, String bodyJsonString, Map<String,String> eocIds) throws Exception
hostProd - 發起方產品hostVer - 發起方產品版本號hostId - 發起方產品識別碼(ID)hostAcct - 應用程式帳戶資訊tenantId - 租戶IDserviceProd - 服務方產品serviceProdUid - 服務方產品唯一識別碼(UID)serviceName - 調用服務名稱datakeys - datakeyheaders - 自定義headerbodyJsonString - 應用內容Json字串eocIds - 運營單元EOC代碼Exception@Deprecated public static ResponseModel invokeRestFasync(String hostProd, String hostVer, String hostId, String hostAcct, String tenantId, String serviceProd, String serviceProdUid, String serviceName, Map<String,String> datakeys, Map<String,String> headers, String bodyJsonString) throws Exception
hostProd - 發起方產品hostVer - 發起方產品版本號hostId - 發起方產品識別碼(ID)hostAcct - 應用程式帳戶資訊tenantId - 租戶IDserviceProd - 服務方產品serviceProdUid - 服務方產品唯一識別碼(UID)serviceName - 調用服務名稱datakeys - datakeyheaders - 自定義headerbodyJsonString - 應用內容Json字串Exception@Deprecated public static ResponseModel invokeRestFasync(String hostProd, String hostVer, String hostId, String hostAcct, String tenantId, String serviceProd, String serviceProdUid, String serviceName, Map<String,String> datakeys, Map<String,String> headers, String bodyJsonString, Map<String,String> eocIds) throws Exception
hostProd - 發起方產品hostVer - 發起方產品版本號hostId - 發起方產品識別碼(ID)hostAcct - 應用程式帳戶資訊tenantId - 租戶IDserviceProd - 服務方產品serviceProdUid - 服務方產品唯一識別碼(UID)serviceName - 調用服務名稱datakeys - datakeyheaders - 自定義headerbodyJsonString - 應用內容Json字串eocIds - 運營單元EOC代碼Exceptionpublic static ResponseModel invokeRestSync(RequestModel requestModel) throws Exception
requestModel - 請求訊息物件Exceptionpublic static ResponseModel invokeRestFasync(RequestModel requestModel) throws Exception
requestModel - 請求訊息物件Exceptionpublic static ResponseModel invokeRestFasync(RequestModel requestModel, String callbackId, Map<String,String> parentCallbackHeaders) throws Exception
requestModel - 請求訊息物件callbackId - 回傳服務ID(DWEAI用)parentCallbackHeaders - 上一步callback的headersExceptionpublic static ResponseModel invokeRestFasync(RequestModel requestModel, String callbackId) throws Exception
requestModel - 請求訊息物件callbackId - 回傳服務ID(DWEAI用)ExceptionCopyright © 2021. All rights reserved.