@GET @Path(value="/") @Produces(value="application/json;charset=UTF-8") T[] get()
@PUT
@Path(value="/{name}")
@Consumes(value="application/json;charset=UTF-8")
@Produces(value="application/json;charset=UTF-8")
void save(@PathParam(value="name")
String name,
T apiObject)
name - the name of the object to saveapiObject - the api object@GET
@Path(value="/{name}")
@Produces(value="application/json;charset=UTF-8")
T get(@PathParam(value="name")
String name)
name - the name of the api object@DELETE
@Path(value="/{name}")
void delete(@PathParam(value="name")
String name)
name - the name of the api objectCopyright © 2014-2016 Cinovo AG. All Rights Reserved.