Package com.oracle.coherence.grpc.proxy
Class ServerLoggingInterceptor
- java.lang.Object
-
- com.oracle.coherence.grpc.proxy.ServerLoggingInterceptor
-
- All Implemented Interfaces:
io.grpc.ServerInterceptor
public class ServerLoggingInterceptor extends Object implements io.grpc.ServerInterceptor
A gRPC server interceptor that will log messages on the server. This is useful for debugging but should not be used in production as it will log the contents of messages.
-
-
Field Summary
Fields Modifier and Type Field Description static io.grpc.Metadata.Key<String>
TRACE_ID_KEY
-
Constructor Summary
Constructors Constructor Description ServerLoggingInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <ReqT,RespT>
io.grpc.ServerCall.Listener<ReqT>interceptCall(io.grpc.ServerCall<ReqT,RespT> call, io.grpc.Metadata headers, io.grpc.ServerCallHandler<ReqT,RespT> next)
-
-
-
Field Detail
-
TRACE_ID_KEY
public static final io.grpc.Metadata.Key<String> TRACE_ID_KEY
-
-