org.glassfish.jersey.examples.jsonp
Class ChangeList

java.lang.Object
  extended by org.glassfish.jersey.examples.jsonp.ChangeList

@Path(value="changes")
public class ChangeList
extends Object

Author:
Jakub Podlesak

Constructor Summary
ChangeList()
           
 
Method Summary
 List<ChangeRecordBean> getChanges(String callback, int type)
           
 ChangeRecordBean getLastChange(String callback, int type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChangeList

public ChangeList()
Method Detail

getChanges

@JSONP(queryParam="__callback")
public List<ChangeRecordBean> getChanges(String callback,
                                                         int type)

getLastChange

@Path(value="latest")
@JSONP
public ChangeRecordBean getLastChange(String callback,
                                                      int type)


Copyright © 2007-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.