Class TokenAddingInterceptor
java.lang.Object
org.axonframework.axonserver.connector.util.TokenAddingInterceptor
- All Implemented Interfaces:
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 Summary
ConstructorsConstructorDescriptionTokenAddingInterceptor(String token) Deprecated.Constructs aTokenAddingInterceptorto attach the giventoken. -
Method Summary
Modifier and TypeMethodDescription<ReqT,RespT>
io.grpc.ClientCall<ReqT, RespT> interceptCall(io.grpc.MethodDescriptor<ReqT, RespT> methodDescriptor, io.grpc.CallOptions callOptions, io.grpc.Channel channel) Deprecated.
-
Constructor Details
-
TokenAddingInterceptor
Deprecated.Constructs aTokenAddingInterceptorto attach the giventoken.- 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:
interceptCallin interfaceio.grpc.ClientInterceptor
-