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 TypeMethodDescriptionstatic io.grpc.BindableService
Creates a instance ofProtoReflectionService
.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
-
Method Details
-
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)
-