@RestController
@RequestMapping(value="/api/v2")
public class NotificationRestV2Controller
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
API_ROOT |
| Constructor and Description |
|---|
NotificationRestV2Controller() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<org.jasig.portlet.notice.NotificationEntry> |
fetchNotifications(javax.servlet.http.HttpServletRequest request) |
java.util.Map<java.lang.String,java.lang.Object> |
invokeAction(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String actionId,
java.lang.String notificationId) |
public static final java.lang.String API_ROOT
@RequestMapping(value="/notifications",
method=GET)
public java.util.List<org.jasig.portlet.notice.NotificationEntry> fetchNotifications(javax.servlet.http.HttpServletRequest request)
@RequestMapping(value="/action/{actionId}/{notificationId}",
method=POST)
public java.util.Map<java.lang.String,java.lang.Object> invokeAction(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
@PathVariable(value="actionId")
java.lang.String actionId,
@PathVariable(value="notificationId")
java.lang.String notificationId)