Package io.deephaven.server.session
Class SessionServiceGrpcImpl.SessionServiceInterceptor
java.lang.Object
io.deephaven.server.session.SessionServiceGrpcImpl.SessionServiceInterceptor
- All Implemented Interfaces:
io.grpc.ServerInterceptor
- Enclosing class:
- SessionServiceGrpcImpl
@Singleton
public static class SessionServiceGrpcImpl.SessionServiceInterceptor
extends Object
implements io.grpc.ServerInterceptor
-
Constructor Summary
ConstructorDescriptionSessionServiceInterceptor
(SessionService service, SessionService.ErrorTransformer errorTransformer) -
Method Summary
Modifier and TypeMethodDescription<ReqT,
RespT>
io.grpc.ServerCall.Listener<ReqT>interceptCall
(io.grpc.ServerCall<ReqT, RespT> call, io.grpc.Metadata metadata, io.grpc.ServerCallHandler<ReqT, RespT> serverCallHandler)
-
Constructor Details
-
SessionServiceInterceptor
@Inject public SessionServiceInterceptor(SessionService service, SessionService.ErrorTransformer errorTransformer)
-
-
Method Details
-
interceptCall
public <ReqT,RespT> io.grpc.ServerCall.Listener<ReqT> interceptCall(io.grpc.ServerCall<ReqT, RespT> call, io.grpc.Metadata metadata, io.grpc.ServerCallHandler<ReqT, RespT> serverCallHandler) - Specified by:
interceptCall
in interfaceio.grpc.ServerInterceptor
-