Uses of Class
io.grpc.ServerMethodDefinition
-
Packages that use ServerMethodDefinition Package Description io.grpc The gRPC core public API.io.grpc.util Utilities with advanced features in the core layer that user can optionally use. -
-
Uses of ServerMethodDefinition in io.grpc
Methods in io.grpc that return ServerMethodDefinition Modifier and Type Method Description static <ReqT,RespT>
ServerMethodDefinition<ReqT,RespT>ServerMethodDefinition. create(MethodDescriptor<ReqT,RespT> method, ServerCallHandler<ReqT,RespT> handler)
Create a new instance.ServerMethodDefinition<?,?>
ServerServiceDefinition. getMethod(String methodName)
Look up a method by its fully qualified name.ServerMethodDefinition<?,?>
HandlerRegistry. lookupMethod(String methodName)
Lookup aServerMethodDefinition
by its fully-qualified name.abstract ServerMethodDefinition<?,?>
HandlerRegistry. lookupMethod(String methodName, String authority)
Lookup aServerMethodDefinition
by its fully-qualified name.ServerMethodDefinition<ReqT,RespT>
ServerMethodDefinition. withServerCallHandler(ServerCallHandler<ReqT,RespT> handler)
Create a new method definition with a different call handler.abstract <ReqT,RespT>
ServerMethodDefinition<?,?>BinaryLog. wrapMethodDefinition(ServerMethodDefinition<ReqT,RespT> oMethodDef)
Methods in io.grpc that return types with arguments of type ServerMethodDefinition Modifier and Type Method Description Collection<ServerMethodDefinition<?,?>>
ServerServiceDefinition. getMethods()
Gets all the methods of service.Methods in io.grpc with parameters of type ServerMethodDefinition Modifier and Type Method Description <ReqT,RespT>
ServerServiceDefinition.BuilderServerServiceDefinition.Builder. addMethod(ServerMethodDefinition<ReqT,RespT> def)
Add a method to be supported by the service.abstract <ReqT,RespT>
ServerMethodDefinition<?,?>BinaryLog. wrapMethodDefinition(ServerMethodDefinition<ReqT,RespT> oMethodDef)
-
Uses of ServerMethodDefinition in io.grpc.util
Methods in io.grpc.util that return ServerMethodDefinition Modifier and Type Method Description ServerMethodDefinition<?,?>
MutableHandlerRegistry. lookupMethod(String methodName, String authority)
Note: This does not actually honor the authority provided.
-