Class TokenAddingInterceptor

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

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

    • TokenAddingInterceptor

      public TokenAddingInterceptor(String token)
      Deprecated.
      Constructs a TokenAddingInterceptor to attach the given token.
      Parameters:
      token - the token 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