public class ConnectionInterceptor extends Object implements io.grpc.ServerInterceptor
Connection and attach to current Context
before that are dispatched by ServerCallHandler.| Constructor and Description |
|---|
ConnectionInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
static Connection |
getCurrentConnection(List<ConnectionClosedEventListener> listeners) |
<ReqT,RespT> |
interceptCall(io.grpc.ServerCall<ReqT,RespT> call,
io.grpc.Metadata headers,
io.grpc.ServerCallHandler<ReqT,RespT> next) |
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)
interceptCall in interface io.grpc.ServerInterceptorpublic static Connection getCurrentConnection(List<ConnectionClosedEventListener> listeners)
Copyright © 2024. All rights reserved.