public abstract class OutgoingCallerIdsEndpoint extends SecuredEndpoint
SecuredEndpoint.SecuredType| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.configuration.Configuration |
configuration |
protected javax.servlet.ServletContext |
context |
protected OutgoingCallerIdsDao |
dao |
protected com.google.gson.Gson |
gson |
protected com.thoughtworks.xstream.XStream |
xstream |
accountsDao, extensions, identityContext, logger, userIdentityContextbaseRecordingsPath| Constructor and Description |
|---|
OutgoingCallerIdsEndpoint() |
| Modifier and Type | Method and Description |
|---|---|
protected javax.ws.rs.core.Response |
getCallerId(String accountSid,
String sid,
javax.ws.rs.core.MediaType responseType) |
protected javax.ws.rs.core.Response |
getCallerIds(String accountSid,
javax.ws.rs.core.MediaType responseType) |
void |
init() |
protected javax.ws.rs.core.Response |
putOutgoingCallerId(String accountSid,
javax.ws.rs.core.MultivaluedMap<String,String> data,
javax.ws.rs.core.MediaType responseType) |
protected javax.ws.rs.core.Response |
updateOutgoingCallerId(String accountSid,
String sid,
javax.ws.rs.core.MultivaluedMap<String,String> data,
javax.ws.rs.core.MediaType responseType) |
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 OutgoingCallerIdsDao dao
protected com.google.gson.Gson gson
protected com.thoughtworks.xstream.XStream xstream
@PostConstruct public void init()
protected javax.ws.rs.core.Response getCallerId(String accountSid, String sid, javax.ws.rs.core.MediaType responseType)
protected javax.ws.rs.core.Response getCallerIds(String accountSid, javax.ws.rs.core.MediaType responseType)
protected javax.ws.rs.core.Response putOutgoingCallerId(String accountSid, javax.ws.rs.core.MultivaluedMap<String,String> data, javax.ws.rs.core.MediaType responseType)
Copyright © 2017. All Rights Reserved.