Class CustomServerInterceptor
java.lang.Object
org.apache.camel.quarkus.component.grpc.it.CustomServerInterceptor
- All Implemented Interfaces:
io.grpc.ServerInterceptor
@Singleton
@Named
public class CustomServerInterceptor
extends Object
implements io.grpc.ServerInterceptor
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<ReqT,RespT>
io.grpc.ServerCall.Listener<ReqT>interceptCall(io.grpc.ServerCall<ReqT, RespT> call, io.grpc.Metadata headers, io.grpc.ServerCallHandler<ReqT, RespT> next)
-
Field Details
-
RESPONSE_KEY
-
PING_ID_CONTEXT_KEY
-
PING_ID_METADATA_KEY
-
-
Constructor Details
-
CustomServerInterceptor
public CustomServerInterceptor()
-
-
Method Details
-
interceptCall
public <ReqT,RespT> io.grpc.ServerCall.Listener<ReqT> interceptCall(io.grpc.ServerCall<ReqT, RespT> call, io.grpc.Metadata headers, io.grpc.ServerCallHandler<ReqT, RespT> next) - Specified by:
interceptCallin interfaceio.grpc.ServerInterceptor
-