Class ProtoReflectionServiceV1
java.lang.Object
io.grpc.reflection.v1.ServerReflectionGrpc.ServerReflectionImplBase
io.grpc.protobuf.services.ProtoReflectionServiceV1
- All Implemented Interfaces:
BindableService, ServerReflectionGrpc.AsyncService
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/2222")
public final class ProtoReflectionServiceV1
extends 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 BindableServiceCreates a instance ofProtoReflectionServiceV1.serverReflectionInfo(StreamObserver<ServerReflectionResponse> responseObserver) The reflection service is structured as a bidirectional stream, ensuring all related requests go to a single server.Methods inherited from class ServerReflectionGrpc.ServerReflectionImplBase
bindService
-
Method Details
-
newInstance
Creates a instance ofProtoReflectionServiceV1. -
serverReflectionInfo
public StreamObserver<ServerReflectionRequest> serverReflectionInfo(StreamObserver<ServerReflectionResponse> responseObserver) Description copied from interface:ServerReflectionGrpc.AsyncServiceThe reflection service is structured as a bidirectional stream, ensuring all related requests go to a single server.
-