- 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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static io.grpc.BindableService
newInstance()
Creates a instance ofProtoReflectionService
.io.grpc.stub.StreamObserver<io.grpc.reflection.v1alpha.ServerReflectionRequest>
serverReflectionInfo(io.grpc.stub.StreamObserver<io.grpc.reflection.v1alpha.ServerReflectionResponse> responseObserver)
-
-
-
Method Detail
-
newInstance
public static io.grpc.BindableService newInstance()
Creates a instance ofProtoReflectionService
.- 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)
-
-