Package io.dapr.client.domain
Class InvokeMethodRequestBuilder
java.lang.Object
io.dapr.client.domain.InvokeMethodRequestBuilder
public class InvokeMethodRequestBuilder extends Object
Builds a request to invoke a service.
-
Constructor Summary
Constructors Constructor Description InvokeMethodRequestBuilder(String appId, String method)
-
Method Summary
Modifier and Type Method Description InvokeMethodRequest
build()
Builds a request object.InvokeMethodRequestBuilder
withBody(Object body)
InvokeMethodRequestBuilder
withContentType(String contentType)
InvokeMethodRequestBuilder
withHttpExtension(HttpExtension httpExtension)
-
Constructor Details
-
Method Details
-
withContentType
-
withBody
-
withHttpExtension
-
build
Builds a request object.- Returns:
- Request object.
-