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<?,?> |
CallCredentials.RequestInfo.getMethodDescriptor()
The method descriptor of this RPC.
|
abstract MethodDescriptor<ReqT,RespT> |
ServerStreamTracer.ServerCallInfo.getMethodDescriptor() |
MethodDescriptor<ReqT,RespT> |
ForwardingServerCall.SimpleForwardingServerCall.getMethodDescriptor() |
abstract MethodDescriptor<ReqT,RespT> |
ServerCall.getMethodDescriptor()
The
MethodDescriptor for the call. |
MethodDescriptor<ReqT,RespT> |
ServerMethodDefinition.getMethodDescriptor()
The
MethodDescriptor for this method. |
abstract MethodDescriptor<?,?> |
LoadBalancer.PickSubchannelArgs.getMethodDescriptor()
Call method.
|
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.
|
static <ReqT,RespT> |
ServerMethodDefinition.create(MethodDescriptor<ReqT,RespT> method,
ServerCallHandler<ReqT,RespT> handler)
Create a new instance.
|
<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 . |
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.
|