public final class GrpcUtils
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
extractMethodName(io.grpc.MethodDescriptor<?,?> method)
Extracts the method name from the given method.
|
static java.lang.String |
extractServiceName(io.grpc.MethodDescriptor<?,?> method)
Extracts the service name from the given method.
|
public static java.lang.String extractServiceName(io.grpc.MethodDescriptor<?,?> method)
method - The method to get the service name from.MethodDescriptor.extractFullServiceName(String),
extractMethodName(MethodDescriptor)public static java.lang.String extractMethodName(io.grpc.MethodDescriptor<?,?> method)
method - The method to get the method name from.extractServiceName(MethodDescriptor)