@Consumes("application/json")
@Produces("application/json")
@Path("/admin/bandana")
public class BandanaResource
extends Object
Modifies Bandana storage. Called from BandanaRpc.
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Details
-
-
put
@POST
@Path("/space/{space}/{key}")
public void put(@PathParam("space")
String space,
@PathParam("key")
String key,
Map<String,Object> entry)
-
get
@GET
@Path("/{key}")
public Object get(@PathParam("key")
String key)
-
get
@GET
@Path("/space/{space}/{key}")
public Object get(@PathParam("space")
String space,
@PathParam("key")
String key)
-
delete
@DELETE
@Path("/{key}")
public void delete(@PathParam("key")
String key)
-
delete
@DELETE
@Path("/space/{space}/{key}")
public void delete(@PathParam("space")
String space,
@PathParam("key")
String key)