public class ClientContextServerInjector extends Object implements io.grpc.ServerInterceptor
Constructor and Description |
---|
ClientContextServerInjector() |
Modifier and Type | Method and Description |
---|---|
static String |
getClientVersion() |
static String |
getIpAddress() |
<ReqT,RespT> |
interceptCall(io.grpc.ServerCall<ReqT,RespT> call,
io.grpc.Metadata headers,
io.grpc.ServerCallHandler<ReqT,RespT> next) |
@Nullable public static String getIpAddress()
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.ServerInterceptor
Copyright © 2023. All Rights Reserved.