Package io.dapr.client.domain
Class InvokeMethodRequest
java.lang.Object
io.dapr.client.domain.InvokeMethodRequest
A request to invoke a service.
-
Constructor Summary
ConstructorDescriptionInvokeMethodRequest
(String appId, String method) Constructor for InvokeMethodRequest. -
Method Summary
Modifier and TypeMethodDescriptiongetAppId()
getBody()
setContentType
(String contentType) setHttpExtension
(HttpExtension httpExtension) setMetadata
(Map<String, String> metadata)
-
Constructor Details
-
InvokeMethodRequest
Constructor for InvokeMethodRequest.- Parameters:
appId
- ID of the Dapr applicationmethod
- Name of the method to be invoked
-
-
Method Details
-
getAppId
-
getMethod
-
getBody
-
setBody
-
getHttpExtension
-
setHttpExtension
-
getContentType
-
setContentType
-
getMetadata
-
setMetadata
-