java.lang.Object
org.glassfish.jersey.examples.bookstore.webapp.resource.Item
Direct Known Subclasses:
Book, CD

@Produces("text/html") public class Item extends Object
  • Constructor Details

    • Item

      public Item()
    • Item

      public Item(String title, String author)
  • Method Details

    • getTitle

      public String getTitle()
    • getAuthor

      public String getAuthor()
    • getXml

      @GET @Produces({"application/xml","text/xml","application/json"}) public Item getXml()
    • toString

      public String toString()
      Overrides:
      toString in class Object