Class ProtoReflectionService

  • All Implemented Interfaces:
    io.grpc.BindableService, io.grpc.reflection.v1alpha.ServerReflectionGrpc.AsyncService

    public final class ProtoReflectionService
    extends io.grpc.reflection.v1alpha.ServerReflectionGrpc.ServerReflectionImplBase
    Provides a reflection service for Protobuf services (including the reflection service itself).

    Separately tracks mutable and immutable services. Throws an exception if either group of services contains multiple Protobuf files with declarations of the same service, method, type, or extension.

    • Method Detail

      • newInstance

        public static io.grpc.BindableService newInstance()
        Creates a instance of ProtoReflectionService.
        Returns:
        a service instance
      • serverReflectionInfo

        public io.grpc.stub.StreamObserver<io.grpc.reflection.v1alpha.ServerReflectionRequest> serverReflectionInfo​(io.grpc.stub.StreamObserver<io.grpc.reflection.v1alpha.ServerReflectionResponse> responseObserver)