Package | Description |
---|---|
io.grpc |
The gRPC core public API.
|
io.grpc.internal |
Interfaces and implementations that are internal to gRPC.
|
Modifier and Type | Method and Description |
---|---|
MethodDescriptor<ReqT,RespT> |
MethodDescriptor.Builder.build()
Builds the method descriptor.
|
static <RequestT,ResponseT> |
MethodDescriptor.create(MethodDescriptor.MethodType type,
String fullMethodName,
MethodDescriptor.Marshaller<RequestT> requestMarshaller,
MethodDescriptor.Marshaller<ResponseT> responseMarshaller)
Deprecated.
use
newBuilder() . |
abstract MethodDescriptor<ReqT,RespT> |
ServerStreamTracer.ServerCallInfo.getMethodDescriptor() |
MethodDescriptor<ReqT,RespT> |
ServerMethodDefinition.getMethodDescriptor()
The
MethodDescriptor for this method. |
abstract MethodDescriptor<ReqT,RespT> |
ServerCall.getMethodDescriptor()
The
MethodDescriptor for the call. |
MethodDescriptor<ReqT,RespT> |
ForwardingServerCall.SimpleForwardingServerCall.getMethodDescriptor() |
abstract MethodDescriptor<?,?> |
LoadBalancer.PickSubchannelArgs.getMethodDescriptor()
Call method.
|
abstract MethodDescriptor<?,?> |
CallCredentials.RequestInfo.getMethodDescriptor()
The method descriptor of this RPC.
|
Modifier and Type | Method and Description |
---|---|
Collection<MethodDescriptor<?,?>> |
ServiceDescriptor.getMethods()
A collection of
MethodDescriptor instances describing the methods exposed by the
service. |
Modifier and Type | Method and Description |
---|---|
ServiceDescriptor.Builder |
ServiceDescriptor.Builder.addMethod(MethodDescriptor<?,?> method)
Adds a method to this service.
|
<ReqT,RespT> |
ServerServiceDefinition.Builder.addMethod(MethodDescriptor<ReqT,RespT> method,
ServerCallHandler<ReqT,RespT> handler)
Add a method to be supported by the service.
|
void |
CallCredentials2.applyRequestMetadata(MethodDescriptor<?,?> method,
Attributes attrs,
Executor appExecutor,
CallCredentials.MetadataApplier applier) |
void |
CallCredentials.applyRequestMetadata(MethodDescriptor<?,?> method,
Attributes attrs,
Executor appExecutor,
CallCredentials.MetadataApplier applier)
Deprecated.
implement
CallCredentials2 instead. |
static <ReqT,RespT> |
ServerMethodDefinition.create(MethodDescriptor<ReqT,RespT> method,
ServerCallHandler<ReqT,RespT> handler)
Create a new instance.
|
Object |
InternalMethodDescriptor.geRawMethodName(MethodDescriptor<?,?> md) |
<ReqT,RespT> |
ClientInterceptor.interceptCall(MethodDescriptor<ReqT,RespT> method,
CallOptions callOptions,
Channel next)
|
abstract <RequestT,ResponseT> |
Channel.newCall(MethodDescriptor<RequestT,ResponseT> methodDescriptor,
CallOptions callOptions)
Create a
ClientCall to the remote operation specified by the given
MethodDescriptor . |
void |
InternalMethodDescriptor.setRawMethodName(MethodDescriptor<?,?> md,
Object o) |
static <OrigReqT,OrigRespT,WrapReqT,WrapRespT> |
InternalServerInterceptors.wrapMethod(ServerMethodDefinition<OrigReqT,OrigRespT> definition,
MethodDescriptor<WrapReqT,WrapRespT> wrappedMethod) |
Constructor and Description |
---|
ServiceDescriptor(String name,
MethodDescriptor<?,?>... methods)
Constructs a new Service Descriptor.
|
Constructor and Description |
---|
ServiceDescriptor(String name,
Collection<MethodDescriptor<?,?>> methods)
Constructs a new Service Descriptor.
|
Modifier and Type | Method and Description |
---|---|
ClientStream |
ClientTransport.newStream(MethodDescriptor<?,?> method,
Metadata headers,
CallOptions callOptions)
Creates a new stream for sending messages to a remote end-point.
|
Copyright © 2018. All rights reserved.