Skip navigation links
A B C D F G I M N O R S W 

A

AbstractStub<S extends AbstractStub<S>> - Class in io.grpc.stub
Common base type for stub implementations.
AbstractStub(Channel) - Constructor for class io.grpc.stub.AbstractStub
Constructor for use by subclasses, with the default CallOptions.
AbstractStub(Channel, CallOptions) - Constructor for class io.grpc.stub.AbstractStub
Constructor for use by subclasses, with the default CallOptions.
asyncBidiStreamingCall(ClientCall<ReqT, RespT>, StreamObserver<RespT>) - Static method in class io.grpc.stub.ClientCalls
Executes a bidi-streaming call.
asyncBidiStreamingCall(ServerCalls.BidiStreamingMethod<ReqT, RespT>) - Static method in class io.grpc.stub.ServerCalls
Creates a ServerCallHandler for a bidi streaming method of the service.
asyncClientStreamingCall(ClientCall<ReqT, RespT>, StreamObserver<RespT>) - Static method in class io.grpc.stub.ClientCalls
Executes a client-streaming call returning a StreamObserver for the request messages.
asyncClientStreamingCall(ServerCalls.ClientStreamingMethod<ReqT, RespT>) - Static method in class io.grpc.stub.ServerCalls
Creates a ServerCallHandler for a client streaming method of the service.
asyncServerStreamingCall(ClientCall<ReqT, RespT>, ReqT, StreamObserver<RespT>) - Static method in class io.grpc.stub.ClientCalls
Executes a server-streaming call with a response StreamObserver.
asyncServerStreamingCall(ServerCalls.ServerStreamingMethod<ReqT, RespT>) - Static method in class io.grpc.stub.ServerCalls
Creates a ServerCallHandler for a server streaming method of the service.
asyncUnaryCall(ClientCall<ReqT, RespT>, ReqT, StreamObserver<RespT>) - Static method in class io.grpc.stub.ClientCalls
Executes a unary call with a response StreamObserver.
asyncUnaryCall(ServerCalls.UnaryMethod<ReqT, RespT>) - Static method in class io.grpc.stub.ServerCalls
Creates a ServerCallHandler for a unary call method of the service.
asyncUnimplementedStreamingCall(MethodDescriptor<?, ?>, StreamObserver<?>) - Static method in class io.grpc.stub.ServerCalls
Sets unimplemented status for streaming call.
asyncUnimplementedUnaryCall(MethodDescriptor<?, ?>, StreamObserver<?>) - Static method in class io.grpc.stub.ServerCalls
Sets unimplemented status for method on given response stream for unary call.
attachHeaders(T, Metadata) - Static method in class io.grpc.stub.MetadataUtils
Attaches a set of request headers to a stub.

B

blockingServerStreamingCall(ClientCall<ReqT, RespT>, ReqT) - Static method in class io.grpc.stub.ClientCalls
Executes a server-streaming call returning a blocking Iterator over the response stream.
blockingServerStreamingCall(Channel, MethodDescriptor<ReqT, RespT>, CallOptions, ReqT) - Static method in class io.grpc.stub.ClientCalls
Executes a server-streaming call returning a blocking Iterator over the response stream.
blockingUnaryCall(ClientCall<ReqT, RespT>, ReqT) - Static method in class io.grpc.stub.ClientCalls
Executes a unary call and blocks on the response.
blockingUnaryCall(Channel, MethodDescriptor<ReqT, RespT>, CallOptions, ReqT) - Static method in class io.grpc.stub.ClientCalls
Executes a unary call and blocks on the response.
build(Channel, CallOptions) - Method in class io.grpc.stub.AbstractStub
Returns a new stub with the given channel for the provided method configurations.

C

CallStreamObserver<V> - Class in io.grpc.stub
A refinement of StreamObserver provided by the GRPC runtime to the application that allows for more complex interactions with call behavior.
CallStreamObserver() - Constructor for class io.grpc.stub.CallStreamObserver
 
captureMetadata(T, AtomicReference<Metadata>, AtomicReference<Metadata>) - Static method in class io.grpc.stub.MetadataUtils
Captures the last received metadata for a stub.
ClientCalls - Class in io.grpc.stub
Utility functions for processing different call idioms.

D

disableAutoInboundFlowControl() - Method in class io.grpc.stub.CallStreamObserver
Disables automatic flow control where a token is returned to the peer after a call to the 'inbound' onNext(Object) has completed.

F

futureUnaryCall(ClientCall<ReqT, RespT>, ReqT) - Static method in class io.grpc.stub.ClientCalls
Executes a unary call and returns a ListenableFuture to the response.

G

getCallOptions() - Method in class io.grpc.stub.AbstractStub
The CallOptions of the stub.
getChannel() - Method in class io.grpc.stub.AbstractStub
The underlying channel of the stub.

I

io.grpc.stub - package io.grpc.stub
 
isCancelled() - Method in class io.grpc.stub.ServerCallStreamObserver
If true indicates that the call has been cancelled by the remote peer.
isReady() - Method in class io.grpc.stub.CallStreamObserver
If true indicates that a call to onNext(Object) will not require the entire message to be buffered before it is sent to the peer.

M

MetadataUtils - Class in io.grpc.stub
Utility functions for binding and receiving headers.

N

newAttachHeadersInterceptor(Metadata) - Static method in class io.grpc.stub.MetadataUtils
Returns a client interceptor that attaches a set of headers to requests.
newCaptureMetadataInterceptor(AtomicReference<Metadata>, AtomicReference<Metadata>) - Static method in class io.grpc.stub.MetadataUtils
Captures the last received metadata on a channel.

O

onCompleted() - Method in interface io.grpc.stub.StreamObserver
Receives a notification of successful stream completion.
onError(Throwable) - Method in interface io.grpc.stub.StreamObserver
Receives a terminating error from the stream.
onNext(V) - Method in interface io.grpc.stub.StreamObserver
Receives a value from the stream.

R

request(int) - Method in class io.grpc.stub.CallStreamObserver
Requests the peer to produce count more messages to be delivered to the 'inbound' StreamObserver.

S

ServerCalls - Class in io.grpc.stub
Utility functions for adapting ServerCallHandlers to application service implementation, meant to be used by the generated code.
ServerCalls.BidiStreamingMethod<ReqT,RespT> - Interface in io.grpc.stub
Adaptor to a bi-directional streaming method.
ServerCalls.ClientStreamingMethod<ReqT,RespT> - Interface in io.grpc.stub
Adaptor to a client streaming method.
ServerCalls.ServerStreamingMethod<ReqT,RespT> - Interface in io.grpc.stub
Adaptor to a server streaming method.
ServerCalls.UnaryMethod<ReqT,RespT> - Interface in io.grpc.stub
Adaptor to a unary call method.
ServerCallStreamObserver<V> - Class in io.grpc.stub
A refinement of CallStreamObserver to allows for interaction with call cancellation events on the server side.
ServerCallStreamObserver() - Constructor for class io.grpc.stub.ServerCallStreamObserver
 
setOnCancelHandler(Runnable) - Method in class io.grpc.stub.ServerCallStreamObserver
Set a Runnable that will be called if the calls ServerCallStreamObserver.isCancelled() state changes from false to true.
setOnReadyHandler(Runnable) - Method in class io.grpc.stub.CallStreamObserver
Set a Runnable that will be executed every time the stream CallStreamObserver.isReady() state changes from false to true.
StreamObserver<V> - Interface in io.grpc.stub
Receives notifications from an observable stream of messages.

W

withChannel(Channel) - Method in class io.grpc.stub.AbstractStub
Returns a new stub that uses the given channel.
withCompression(String) - Method in class io.grpc.stub.AbstractStub
Set's the compressor name to use for the call.
withDeadline(Deadline) - Method in class io.grpc.stub.AbstractStub
Returns a new stub with an absolute deadline.
withDeadlineAfter(long, TimeUnit) - Method in class io.grpc.stub.AbstractStub
Returns a new stub with a deadline that is after the given duration from now.
withDeadlineNanoTime(Long) - Method in class io.grpc.stub.AbstractStub
Deprecated.
withInterceptors(ClientInterceptor...) - Method in class io.grpc.stub.AbstractStub
Returns a new stub that has the given interceptors attached to the underlying channel.
A B C D F G I M N O R S W 
Skip navigation links