public abstract class NotificationsEndpoint extends SecuredEndpoint
SecuredEndpoint.SecuredType| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.configuration.Configuration |
configuration |
protected javax.servlet.ServletContext |
context |
protected NotificationsDao |
dao |
protected com.google.gson.Gson |
gson |
protected String |
instanceId |
protected NotificationListConverter |
listConverter |
protected com.thoughtworks.xstream.XStream |
xstream |
accountsDao, extensions, identityContext, logger, userIdentityContextbaseRecordingsPath| Constructor and Description |
|---|
NotificationsEndpoint() |
| Modifier and Type | Method and Description |
|---|---|
protected javax.ws.rs.core.Response |
getNotification(String accountSid,
String sid,
javax.ws.rs.core.MediaType responseType) |
protected javax.ws.rs.core.Response |
getNotifications(String accountSid,
javax.ws.rs.core.UriInfo info,
javax.ws.rs.core.MediaType responseType) |
void |
init() |
allowOnlySuperAdmin, checkAuthenticatedAccount, checkPermission, executePostApiAction, executePreApiAction, getAdministratorRole, hasAccountRole, init, isSecuredByPermission, isSuperAdmin, secure, secure, securegetApiVersion, getBigInteger, getBoolean, getDateTime, getHasVoiceCallerIdLookup, getInteger, getLong, getMethod, getPhoneNumber, getSid, getUrl, isEmpty@Context protected javax.servlet.ServletContext context
protected org.apache.commons.configuration.Configuration configuration
protected NotificationsDao dao
protected com.google.gson.Gson gson
protected com.thoughtworks.xstream.XStream xstream
protected NotificationListConverter listConverter
protected String instanceId
@PostConstruct public void init()
protected javax.ws.rs.core.Response getNotification(String accountSid, String sid, javax.ws.rs.core.MediaType responseType)
protected javax.ws.rs.core.Response getNotifications(String accountSid, javax.ws.rs.core.UriInfo info, javax.ws.rs.core.MediaType responseType)
Copyright © 2017. All Rights Reserved.