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 Summary
ConstructorsConstructorDescriptionContextAddingInterceptor(String context) Deprecated.Constructs aContextAddingInterceptorto attach the givencontext. -
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
-
ContextAddingInterceptor
Deprecated.Constructs aContextAddingInterceptorto attach the givencontext.- 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:
interceptCallin interfaceio.grpc.ClientInterceptor
-