Class ServiceName


  • public class ServiceName
    extends Object
    A gRPC service name.

    NOTE: This class has been automatically generated from the original non RX-ified interface using Vert.x codegen.

    • Constructor Detail

      • ServiceName

        public ServiceName​(ServiceName delegate)
      • ServiceName

        public ServiceName​(Object delegate)
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • create

        public static ServiceName create​(String fqn)
        Create a service name from its fully qualified name, e.g com.examples.MyService
        Parameters:
        fqn - the fully qualified service name
        Returns:
        the service name
      • create

        public static ServiceName create​(String packageName,
                                         String name)
        Create a service name from its package name and name
        Parameters:
        packageName - the package name
        name - the name
        Returns:
        the service name
      • name

        public String name()
        Returns:
        the name
      • packageName

        public String packageName()
        Returns:
        the package name
      • fullyQualifiedName

        public String fullyQualifiedName()
        Returns:
        the fully qualified name
      • pathOf

        public String pathOf​(String method)
        Create the path of a given method to call.
        Parameters:
        method - the method
        Returns:
        the path, e.g /com.examples.MyService/MyMethod