Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<ServiceName> |
__TYPE_ARG |
Constructor and Description |
---|
ServiceName(Object delegate) |
ServiceName(ServiceName delegate) |
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
|
boolean |
equals(Object o) |
String |
fullyQualifiedName() |
ServiceName |
getDelegate() |
int |
hashCode() |
String |
name() |
static ServiceName |
newInstance(ServiceName arg) |
String |
packageName() |
String |
pathOf(String method)
Create the path of a given
method to call. |
String |
toString() |
public static final io.vertx.lang.rx.TypeArg<ServiceName> __TYPE_ARG
public ServiceName(ServiceName delegate)
public ServiceName(Object delegate)
public ServiceName getDelegate()
public static ServiceName create(String fqn)
com.examples.MyService
fqn
- the fully qualified service namepublic static ServiceName create(String packageName, String name)
packageName
- the package namename
- the namepublic String name()
public String packageName()
public String fullyQualifiedName()
public String pathOf(String method)
method
to call.method
- the method/com.examples.MyService/MyMethod
public static ServiceName newInstance(ServiceName arg)
Copyright © 2024 Eclipse. All rights reserved.