Package io.grpc.reflection.v1
Class ServerReflectionGrpc.ServerReflectionStub
java.lang.Object
io.grpc.stub.AbstractStub<ServerReflectionGrpc.ServerReflectionStub>
io.grpc.stub.AbstractAsyncStub<ServerReflectionGrpc.ServerReflectionStub>
io.grpc.reflection.v1.ServerReflectionGrpc.ServerReflectionStub
- Enclosing class:
ServerReflectionGrpc
public static final class ServerReflectionGrpc.ServerReflectionStub
extends AbstractAsyncStub<ServerReflectionGrpc.ServerReflectionStub>
A stub to allow clients to do asynchronous rpc calls to service ServerReflection.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
AbstractStub.StubFactory<T extends AbstractStub<T>>
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
ServerReflectionStub
(Channel channel, CallOptions callOptions) -
Method Summary
Modifier and TypeMethodDescriptionbuild
(Channel channel, CallOptions callOptions) Returns a new stub with the given channel for the provided method configurations.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 io.grpc.stub.AbstractAsyncStub
newStub, newStub
Methods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Constructor Details
-
ServerReflectionStub
-
-
Method Details
-
build
Description copied from class:AbstractStub
Returns a new stub with the given channel for the provided method configurations.- Specified by:
build
in classAbstractStub<ServerReflectionGrpc.ServerReflectionStub>
- Parameters:
channel
- the channel that this stub will use to do communicationscallOptions
- the runtime call options to be applied to every call on this stub
-
serverReflectionInfo
public StreamObserver<ServerReflectionRequest> serverReflectionInfo(StreamObserver<ServerReflectionResponse> responseObserver) The reflection service is structured as a bidirectional stream, ensuring all related requests go to a single server.
-