@Path(value="/v1/tenant/") public class TenantResource extends Object
| Constructor and Description |
|---|
TenantResource() |
| Modifier and Type | Method and Description |
|---|---|
void |
getTenantes(javax.ws.rs.container.AsyncResponse asyncResponse) |
void |
postTenant(javax.ws.rs.container.AsyncResponse asyncResponse,
String tenantJson) |
@GET
@Path(value="/")
@Produces(value={"application/x-protobuf;qs=0.5","application/json"})
@ManagedAsync
public void getTenantes(@Suspended
javax.ws.rs.container.AsyncResponse asyncResponse)
@POST
@Path(value="/")
@Consumes(value="application/json")
@ManagedAsync
public void postTenant(@Suspended
javax.ws.rs.container.AsyncResponse asyncResponse,
String tenantJson)
Copyright © 2015. All rights reserved.