org.surfnet.oaaas.example.api.resource
Class UniversityResource
java.lang.Object
org.surfnet.oaaas.example.api.resource.UniversityResource
public class UniversityResource
- extends Object
Main resource
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UniversityResource
public UniversityResource()
getObjectMapper
protected org.codehaus.jackson.map.ObjectMapper getObjectMapper()
getAllStudents
public javax.ws.rs.core.Response getAllStudents(@Auth
Principal principal)
getStudentById
public javax.ws.rs.core.Response getStudentById(@Auth
Principal principal,
String id)
getAllCourses
public javax.ws.rs.core.Response getAllCourses(@Auth
Principal principal)
getCourseById
public javax.ws.rs.core.Response getCourseById(@Auth
Principal principal,
String id)
Copyright © 2012-2013 SURFnet bv, The Netherlands. All Rights Reserved.