public class ClientIpAddressInjector extends Object implements io.grpc.ServerInterceptor
Constructor and Description |
---|
ClientIpAddressInjector() |
Modifier and Type | Method and Description |
---|---|
static String |
getIpAddress() |
<ReqT,RespT> |
interceptCall(io.grpc.ServerCall<ReqT,RespT> call,
io.grpc.Metadata headers,
io.grpc.ServerCallHandler<ReqT,RespT> next) |
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.