public interface ServiceName
Modifier and Type | Method and Description |
---|---|
static ServiceName |
create(String fqn)
Create a service name from its fully qualified name, e.g
com.examples.MyService |
static ServiceName |
create(String packageName,
String name)
Create a service name from its package name and name
|
String |
fullyQualifiedName() |
String |
name() |
String |
packageName() |
String |
pathOf(String method)
Create the path of a given
method to call. |
static ServiceName create(String fqn)
com.examples.MyService
fqn
- the fully qualified service namestatic ServiceName create(String packageName, String name)
packageName
- the package namename
- the nameString name()
String packageName()
String fullyQualifiedName()
Copyright © 2024 Eclipse. All rights reserved.