Class GrpcRequestContextGrpcInterceptor
java.lang.Object
io.quarkus.grpc.runtime.supports.context.GrpcRequestContextGrpcInterceptor
- All Implemented Interfaces:
io.grpc.ServerInterceptor,jakarta.enterprise.inject.spi.Prioritized
@ApplicationScoped
public class GrpcRequestContextGrpcInterceptor
extends Object
implements io.grpc.ServerInterceptor, jakarta.enterprise.inject.spi.Prioritized
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint<ReqT,RespT>
io.grpc.ServerCall.Listener<ReqT>interceptCall(io.grpc.ServerCall<ReqT, RespT> call, io.grpc.Metadata headers, io.grpc.ServerCallHandler<ReqT, RespT> next)
-
Constructor Details
-
GrpcRequestContextGrpcInterceptor
public GrpcRequestContextGrpcInterceptor()
-
-
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
-
getPriority
public int getPriority()- Specified by:
getPriorityin interfacejakarta.enterprise.inject.spi.Prioritized
-