@Path(value="/v1/invoker-registry")
public class InvokerRegistryAPI
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
InvokerRegistryAPI.Request |
static class |
InvokerRegistryAPI.Response |
| Constructor and Description |
|---|
InvokerRegistryAPI() |
| Modifier and Type | Method and Description |
|---|---|
InvokerRegistry |
getRegistry() |
SubZero |
getSubZero() |
InvokerRegistryAPI.Response |
invoke(InvokerRegistryAPI.Request request) |
java.util.Set<java.lang.String> |
routes() |
void |
setRegistry(InvokerRegistry registry) |
void |
setSubZero(SubZero subZero) |
public InvokerRegistry getRegistry()
public void setRegistry(InvokerRegistry registry)
public SubZero getSubZero()
public void setSubZero(SubZero subZero)
@GET @Consumes(value="application/json") @Produces(value="application/json") @Path(value="hosts") public java.util.Set<java.lang.String> routes()
@POST @Consumes(value="application/json") @Produces(value="application/json") @Path(value="invoke") public InvokerRegistryAPI.Response invoke(InvokerRegistryAPI.Request request)