Package io.grpc.protobuf.services
Class ProtoReflectionService
- java.lang.Object
-
- io.grpc.protobuf.services.ProtoReflectionService
-
- All Implemented Interfaces:
io.grpc.BindableService
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/2222") public final class ProtoReflectionService extends Object implements io.grpc.BindableServiceProvides 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. Uses the deprecated v1alpha proto. New users should use
ProtoReflectionServiceV1instead.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description io.grpc.ServerServiceDefinitionbindService()static io.grpc.BindableServicenewInstance()Deprecated.
-
-
-
Method Detail
-
newInstance
@Deprecated public static io.grpc.BindableService newInstance()
Deprecated.
-
bindService
public io.grpc.ServerServiceDefinition bindService()
- Specified by:
bindServicein interfaceio.grpc.BindableService
-
-