Class ProtoReflectionService

java.lang.Object
io.grpc.reflection.v1alpha.ServerReflectionGrpc.ServerReflectionImplBase
io.helidon.grpc.server.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 Summary

    Modifier and Type
    Method
    Description
    static io.grpc.BindableService
    Creates a instance of ProtoReflectionService.
    io.grpc.stub.StreamObserver<io.grpc.reflection.v1alpha.ServerReflectionRequest>
    serverReflectionInfo(io.grpc.stub.StreamObserver<io.grpc.reflection.v1alpha.ServerReflectionResponse> responseObserver)
     

    Methods inherited from class io.grpc.reflection.v1alpha.ServerReflectionGrpc.ServerReflectionImplBase

    bindService

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • 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)