org.glassfish.jersey.examples.sseitemstore
Class ItemStoreResource
java.lang.Object
org.glassfish.jersey.examples.sseitemstore.ItemStoreResource
@Path(value="items")
public class ItemStoreResource
- extends Object
A resource for storing named items.
- Author:
- Marek Potociar (marek.potociar at oracle.com)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ItemStoreResource
public ItemStoreResource()
listItems
public String listItems()
itemEvents
@Path(value="events")
public EventOutput itemEvents()
addItem
public void addItem(String name)
Copyright © 2007-2013 Oracle Corporation. All Rights Reserved. Use is subject to license terms.