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