@ExperimentalApi(value="https://github.com/grpc/grpc-java/issues/2222")
public final class ProtoReflectionService
extends io.grpc.reflection.v1alpha.ServerReflectionGrpc.ServerReflectionImplBase
implements io.grpc.InternalNotifyOnServerBuild
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 io.grpc.BindableService |
getInstance() |
void |
notifyOnBuild(io.grpc.Server server)
Receives a reference to the server at build time.
|
io.grpc.stub.StreamObserver<io.grpc.reflection.v1alpha.ServerReflectionRequest> |
serverReflectionInfo(io.grpc.stub.StreamObserver<io.grpc.reflection.v1alpha.ServerReflectionResponse> responseObserver) |
public static io.grpc.BindableService getInstance()
public void notifyOnBuild(io.grpc.Server server)
notifyOnBuild in interface io.grpc.InternalNotifyOnServerBuildpublic io.grpc.stub.StreamObserver<io.grpc.reflection.v1alpha.ServerReflectionRequest> serverReflectionInfo(io.grpc.stub.StreamObserver<io.grpc.reflection.v1alpha.ServerReflectionResponse> responseObserver)
serverReflectionInfo in class io.grpc.reflection.v1alpha.ServerReflectionGrpc.ServerReflectionImplBase