@Path("/") @Singleton @Produces("text/html") public class Bookstore extends Object
Bookstore()
Item
getItem(String itemid)
Map<String,Item>
getItems()
String
getName()
long
getSystemTime()
Bookstore
getXml()
void
setName(String name)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public Bookstore()
@Path("items/{itemid}/") public Item getItem(@PathParam("itemid") String itemid)
@GET @Produces({"application/xml","text/xml","application/json"}) public Bookstore getXml()
public long getSystemTime()
public Map<String,Item> getItems()
public String getName()
public void setName(String name)