public final class RestfulJsonNotificationService extends AbstractNotificationService
| Constructor and Description |
|---|
RestfulJsonNotificationService() |
| Modifier and Type | Method and Description |
|---|---|
org.jasig.portlet.notice.NotificationResponse |
fetch(javax.servlet.http.HttpServletRequest req)
Returns an empty collection and logs the event.
|
org.jasig.portlet.notice.NotificationResponse |
fetch(javax.portlet.PortletRequest req)
Provide the current collection of Notifications information for the user
represented by the
PortletRequest. |
void |
init() |
void |
setPasswordEvaluator(IParameterEvaluator passwordEvaluator) |
void |
setRestTemplate(org.springframework.web.client.RestTemplate restTemplate) |
void |
setUrlParameterEvaluators(java.util.Set<IParameterEvaluator> evaluators)
Gathers beans that implement
IParameterEvaluator and prepares to leverage them in
dynamic URLs. |
void |
setUsernameEvaluator(IParameterEvaluator usernameEvaluator) |
collect, createServiceUserWindowSpecificCacheKey, getName, invoke, isValid, prepareErrorResponse, setNamepublic void setUsernameEvaluator(IParameterEvaluator usernameEvaluator)
public void setPasswordEvaluator(IParameterEvaluator passwordEvaluator)
@Autowired public void setUrlParameterEvaluators(java.util.Set<IParameterEvaluator> evaluators)
IParameterEvaluator and prepares to leverage them in
dynamic URLs.public void setRestTemplate(org.springframework.web.client.RestTemplate restTemplate)
@PostConstruct public void init()
public org.jasig.portlet.notice.NotificationResponse fetch(javax.portlet.PortletRequest req)
INotificationServicePortletRequest.req - The PortletRequestpublic org.jasig.portlet.notice.NotificationResponse fetch(javax.servlet.http.HttpServletRequest req)
AbstractNotificationServiceINotificationService should override this method. The log entries this method
produces are an indication that the service subclass is not ready for the post-Portlet API
world.fetch in interface INotificationServicefetch in class AbstractNotificationServicereq - The REST request