@ExperimentalApi(value="https://github.com/grpc/grpc-java/issues/2222") public final class ProtoReflectionService extends ServerReflectionGrpc.ServerReflectionImplBase
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.
| Modifier and Type | Method and Description |
|---|---|
static BindableService |
newInstance()
Creates a instance of
ProtoReflectionService. |
StreamObserver<ServerReflectionRequest> |
serverReflectionInfo(StreamObserver<ServerReflectionResponse> responseObserver)
The reflection service is structured as a bidirectional stream, ensuring
all related requests go to a single server.
|
bindServicepublic static BindableService newInstance()
ProtoReflectionService.public StreamObserver<ServerReflectionRequest> serverReflectionInfo(StreamObserver<ServerReflectionResponse> responseObserver)
ServerReflectionGrpc.ServerReflectionImplBaseThe reflection service is structured as a bidirectional stream, ensuring all related requests go to a single server.
serverReflectionInfo in class ServerReflectionGrpc.ServerReflectionImplBase