Class ContextAddingInterceptor

java.lang.Object
org.axonframework.axonserver.connector.util.ContextAddingInterceptor
All Implemented Interfaces:
io.grpc.ClientInterceptor

@Deprecated public class ContextAddingInterceptor extends Object implements io.grpc.ClientInterceptor
Deprecated.
in through use of the AxonServer java connector
Interceptor around a gRPC request to add a Context element to the metadata.
Since:
4.0
Author:
Marc Gathier
  • Constructor Details

    • ContextAddingInterceptor

      public ContextAddingInterceptor(String context)
      Deprecated.
      Constructs a ContextAddingInterceptor to attach the given context.
      Parameters:
      context - the context to attach to outgoing messages
  • Method Details

    • interceptCall

      public <ReqT, RespT> io.grpc.ClientCall<ReqT,RespT> interceptCall(io.grpc.MethodDescriptor<ReqT,RespT> methodDescriptor, io.grpc.CallOptions callOptions, io.grpc.Channel channel)
      Deprecated.
      Specified by:
      interceptCall in interface io.grpc.ClientInterceptor