Class GrpcDuplicatedContextGrpcInterceptor
- java.lang.Object
-
- io.quarkus.grpc.runtime.supports.context.GrpcDuplicatedContextGrpcInterceptor
-
- All Implemented Interfaces:
io.grpc.ServerInterceptor,javax.enterprise.inject.spi.Prioritized
@ApplicationScoped public class GrpcDuplicatedContextGrpcInterceptor extends Object implements io.grpc.ServerInterceptor, javax.enterprise.inject.spi.Prioritized
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classGrpcDuplicatedContextGrpcInterceptor.ListenedOnDuplicatedContext<ReqT,RespT>
-
Field Summary
Fields Modifier and Type Field Description (package private) ExceptionHandlerProviderehp
-
Constructor Summary
Constructors Constructor Description GrpcDuplicatedContextGrpcInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetPriority()<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 Detail
-
ehp
@Inject ExceptionHandlerProvider ehp
-
-
Method Detail
-
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 interfacejavax.enterprise.inject.spi.Prioritized
-
-