File tree Expand file tree Collapse file tree
temporal-sdk/src/test/java/io/temporal/workflow/nexus Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88import io .temporal .common .interceptors .WorkflowClientCallsInterceptor ;
99import io .temporal .common .interceptors .WorkflowClientCallsInterceptorBase ;
1010import io .temporal .common .interceptors .WorkflowClientInterceptor ;
11+ import io .temporal .common .interceptors .WorkflowClientInterceptorBase ;
1112import io .temporal .nexus .Nexus ;
1213import java .util .Optional ;
1314
1920 * thread and sets the codec's thread-local key, ensuring the async workflow result is encrypted
2021 * with the correct per-endpoint key.
2122 */
22- public class PerEndpointEncryptionClientInterceptor implements WorkflowClientInterceptor {
23+ public class PerEndpointEncryptionClientInterceptor extends WorkflowClientInterceptorBase {
2324
2425 static final String ENDPOINT_HEADER_KEY = "x-encryption-endpoint" ;
2526
@@ -43,23 +44,4 @@ public WorkflowStartOutput start(WorkflowStartInput input) {
4344 }
4445 };
4546 }
46-
47- @ Override
48- @ Deprecated
49- public WorkflowStub newUntypedWorkflowStub (
50- String workflowType , WorkflowOptions options , WorkflowStub next ) {
51- return next ;
52- }
53-
54- @ Override
55- @ Deprecated
56- public WorkflowStub newUntypedWorkflowStub (
57- WorkflowExecution execution , Optional <String > workflowType , WorkflowStub next ) {
58- return next ;
59- }
60-
61- @ Override
62- public ActivityCompletionClient newActivityCompletionClient (ActivityCompletionClient next ) {
63- return next ;
64- }
6547}
You can’t perform that action at this time.
0 commit comments