Class ExceptionInterceptor
- java.lang.Object
-
- io.quarkus.grpc.runtime.supports.exc.ExceptionInterceptor
-
- All Implemented Interfaces:
io.grpc.ServerInterceptor,javax.enterprise.inject.spi.Prioritized
@ApplicationScoped public class ExceptionInterceptor extends Object implements io.grpc.ServerInterceptor, javax.enterprise.inject.spi.Prioritized
-
-
Field Summary
Fields Modifier and Type Field Description (package private) ExceptionHandlerProviderprovider
-
Constructor Summary
Constructors Constructor Description ExceptionInterceptor()
-
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
-
provider
@Inject ExceptionHandlerProvider provider
-
-
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
-
-