Package io.grpc.reflection.v1
Class ServerReflectionGrpc.ServerReflectionStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- 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>>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ServerReflectionGrpc.ServerReflectionStub
build(Channel channel, CallOptions callOptions)
Returns a new stub with the given channel for the provided method configurations.StreamObserver<ServerReflectionRequest>
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
-
-
-
-
Method Detail
-
build
protected ServerReflectionGrpc.ServerReflectionStub build(Channel channel, CallOptions callOptions)
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.
-
-