Class BinaryLogProvider

    • Constructor Detail

      • BinaryLogProvider

        public BinaryLogProvider()
    • Method Detail

      • getServerInterceptor

        @Nullable
        protected abstract ServerInterceptor getServerInterceptor​(java.lang.String fullMethodName)
        Returns a ServerInterceptor for binary logging. gRPC is free to cache the interceptor, so the interceptor must be reusable across calls. At runtime, the request and response marshallers are always Marshaller<InputStream>. Returns null if this method is not binary logged.
      • getClientInterceptor

        @Nullable
        protected abstract ClientInterceptor getClientInterceptor​(java.lang.String fullMethodName,
                                                                  CallOptions callOptions)
        Returns a ClientInterceptor for binary logging. gRPC is free to cache the interceptor, so the interceptor must be reusable across calls. At runtime, the request and response marshallers are always Marshaller<InputStream>. Returns null if this method is not binary logged.
      • close

        public void close()
                   throws java.io.IOException
        Throws:
        java.io.IOException