public class EmailMessagesEndpoint extends SecuredEndpoint
SecuredEndpoint.SecuredType| Modifier and Type | Field and Description |
|---|---|
protected AccountsDao |
accountsDao |
protected org.apache.commons.configuration.Configuration |
confemail |
protected org.apache.commons.configuration.Configuration |
configuration |
protected javax.servlet.ServletContext |
context |
protected Mail |
emailMsg |
protected com.google.gson.Gson |
gson |
protected akka.actor.ActorSystem |
system |
protected com.thoughtworks.xstream.XStream |
xstream |
extensions, identityContext, userIdentityContextbaseRecordingsPath| Constructor and Description |
|---|
EmailMessagesEndpoint() |
| Modifier and Type | Method and Description |
|---|---|
void |
init() |
protected javax.ws.rs.core.Response |
putEmailMessage(String accountSid,
javax.ws.rs.core.MultivaluedMap<String,String> data,
javax.ws.rs.core.MediaType responseType) |
String |
validateEmail(String email) |
String |
validateEmails(String emails) |
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 akka.actor.ActorSystem system
protected org.apache.commons.configuration.Configuration configuration
protected org.apache.commons.configuration.Configuration confemail
protected com.google.gson.Gson gson
protected AccountsDao accountsDao
protected com.thoughtworks.xstream.XStream xstream
protected Mail emailMsg
@PostConstruct public void init()
protected javax.ws.rs.core.Response putEmailMessage(String accountSid, javax.ws.rs.core.MultivaluedMap<String,String> data, javax.ws.rs.core.MediaType responseType)
public String validateEmail(String email) throws org.restcomm.connect.http.EmailMessagesEndpoint.InvalidEmailException
org.restcomm.connect.http.EmailMessagesEndpoint.InvalidEmailExceptionCopyright © 2017. All Rights Reserved.