org.glassfish.jersey.examples.jsonp
Class ChangeList
java.lang.Object
org.glassfish.jersey.examples.jsonp.ChangeList
@Path(value="changes")
@Produces(value={"application/x-javascript","application/json","application/xml"})
public class ChangeList- extends Object
- Author:
- Jakub Podlesak
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChangeList
public ChangeList()
getChanges
@GET
@JSONP(queryParam="__callback")
public List<ChangeRecordBean> getChanges(@QueryParam(value="__callback")
String callback,
@QueryParam(value="type")
int type)
getLastChange
@GET
@Path(value="latest")
@JSONP
public ChangeRecordBean getLastChange(@QueryParam(value="callback")
String callback,
@QueryParam(value="type")
int type)
Copyright © 2007-2013 Oracle Corporation. All Rights Reserved. Use is subject to license terms.