@Path(value="propertybox") public static class ExamplePropertyBox.JsonEndpoint extends Object
| Constructor and Description |
|---|
JsonEndpoint() |
| Modifier and Type | Method and Description |
|---|---|
com.holonplatform.core.property.PropertyBox |
getPropertyBox() |
List<com.holonplatform.core.property.PropertyBox> |
getPropertyBoxList() |
javax.ws.rs.core.Response |
putPropertyBox(@PropertySetRef(value=ExamplePropertyBox.class) com.holonplatform.core.property.PropertyBox data) |
@GET @Path(value="get") @Produces(value="application/json") public com.holonplatform.core.property.PropertyBox getPropertyBox()
@GET @Path(value="getList") @Produces(value="application/json") public List<com.holonplatform.core.property.PropertyBox> getPropertyBoxList()
@PUT @Path(value="put") @Consumes(value="application/json") public javax.ws.rs.core.Response putPropertyBox(@PropertySetRef(value=ExamplePropertyBox.class) @PropertySetRef(value=ExamplePropertyBox.class) com.holonplatform.core.property.PropertyBox data)
Copyright © 2019 The Holon Platform. All rights reserved.