org.glassfish.jersey.examples.bookstore.webapp.resource
Class Bookstore
java.lang.Object
org.glassfish.jersey.examples.bookstore.webapp.resource.Bookstore
@Path(value="/")
@Singleton
@Produces(value="text/html;qs=5")
public class Bookstore
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Bookstore
public Bookstore()
getItem
@Path(value="items/{itemid}/")
public Item getItem(@PathParam(value="itemid")
String itemid)
getXml
@GET
@Produces(value={"application/xml","text/xml","application/json"})
public Bookstore getXml()
getSystemTime
public long getSystemTime()
getItems
public Map<String,Item> getItems()
getName
public String getName()
setName
public void setName(String name)
Copyright © 2007-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.