Class ExceptionInterceptor
java.lang.Object
io.quarkus.grpc.runtime.supports.exc.ExceptionInterceptor
- All Implemented Interfaces:
io.grpc.ServerInterceptor,jakarta.enterprise.inject.spi.Prioritized
@ApplicationScoped
public class ExceptionInterceptor
extends Object
implements io.grpc.ServerInterceptor, jakarta.enterprise.inject.spi.Prioritized
-
Field Summary
Fields -
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)
-
Field Details
-
provider
-
-
Constructor Details
-
ExceptionInterceptor
public ExceptionInterceptor()
-
-
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
-