public class RemoteAddressInterceptor extends Object implements io.grpc.ServerInterceptor
| Constructor and Description |
|---|
RemoteAddressInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
static SocketAddress |
getRemoteAddress() |
<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 SocketAddress getRemoteAddress()
Copyright © 2024. All rights reserved.