Interface WorkflowInboundCallsInterceptor

All Known Implementing Classes:
BaseRootWorkflowInboundCallsInterceptor, WorkflowInboundCallsInterceptorBase

@Experimental public interface WorkflowInboundCallsInterceptor
Intercepts inbound calls to the workflow execution on the worker side.

An instance should be created in WorkerInterceptor.interceptWorkflow(WorkflowInboundCallsInterceptor).

The calls to this interceptor are executed under workflow context, all the rules and restrictions on the workflow code apply. See io.temporal.workflow.

Prefer extending WorkflowInboundCallsInterceptorBase and overriding only the methods you need instead of implementing this interface directly. WorkflowInboundCallsInterceptorBase provides correct default implementations to all the methods of this interface.

The implementation must forward all the calls to next, but it may change the input parameters.

See WorkerInterceptor.interceptWorkflow(WorkflowInboundCallsInterceptor) for a definition of "next" WorkflowInboundCallsInterceptor.