DurableClientContext Class
- java.
lang. Object - com.
microsoft. durabletask. azurefunctions. DurableClientContext
- com.
public class DurableClientContext
The binding value type for the @DurableClientInput parameter.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| DurableClientContext() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Http |
createCheckStatusResponse(HttpRequestMessage<?> request, String instanceId) |
|
Durable |
getClient()
Gets the durable task client associated with the current function invocation. |
| java.lang.String |
getTaskHubName()
Gets the name of the client binding's task hub. |
Methods inherited from java.lang.Object
Constructor Details
DurableClientContext
public DurableClientContext()
Method Details
createCheckStatusResponse
public HttpResponseMessage createCheckStatusResponse(HttpRequestMessage<?> request, String instanceId)
Parameters:
getClient
public DurableTaskClient getClient()
Gets the durable task client associated with the current function invocation.
Returns:
getTaskHubName
public String getTaskHubName()
Gets the name of the client binding's task hub.
Returns: