public class VMSSend extends AbstractSendAction<VMSSend,StatusResponse>
| Modifier and Type | Class and Description |
|---|---|
static class |
VMSSend.Lector |
client, files, params, proxy, RESPONSE_PACKAGE_NAME| Constructor and Description |
|---|
VMSSend()
Deprecated.
use @link VMSSend(String, String)} or @link VMSSend(String[], String)} or @link VMSSend(String, File)}
or @link VMSSend(String[], File) instead
|
VMSSend(String[] to,
File file) |
VMSSend(String[] to,
InputStream file) |
VMSSend(String[] to,
String tts) |
VMSSend(String to,
File file) |
VMSSend(String to,
String tts) |
| Modifier and Type | Method and Description |
|---|---|
protected StatusResponse |
createResponse(String data) |
protected String |
endPoint() |
VMSSend |
setFile(File file)
Deprecated.
use @link VMSSend(String, File)} or @link VMSSend(String[], File) instead
|
VMSSend |
setFile(InputStream inputStream)
Deprecated.
use @link VMSSend(String[], InputStream) instead
|
VMSSend |
setFile(String pathFile)
Deprecated.
use @link VMSSend(String, File)} or @link VMSSend(String[], File) instead
|
VMSSend |
setFrom(String from)
Set called number.
|
VMSSend |
setInterval(Integer interval)
Set the time in seconds where the connection have to be repeated in the case of not answer by receiver or reject this connection.
|
VMSSend |
setSkipGsm(boolean skipGsm)
Set flag to not send messages on cell phone numbers.
|
VMSSend |
setTts(String tts)
Deprecated.
use @link VMSSend(String, String)} or @link VMSSend(String[], String) instead
|
VMSSend |
setTtsLector(VMSSend.Lector lector)
Set lector name.
|
setCheckIDx, setDateSent, setDateSent, setDateSent, setGroup, setIDx, setIDx, setNotifyUrl, setPartner, setTest, setTo, setToclient, execute, handleError, httpMethod, proxy, setJsonpublic VMSSend()
public VMSSend(String to, File file) throws IOException
IOExceptionpublic VMSSend(String[] to, File file) throws IOException
IOExceptionpublic VMSSend(String[] to, InputStream file)
public VMSSend setFile(File file) throws FileNotFoundException
FileNotFoundExceptionpublic VMSSend setFile(String pathFile) throws FileNotFoundException
FileNotFoundExceptionpublic VMSSend setFile(InputStream inputStream)
public VMSSend setTts(String tts)
public VMSSend setSkipGsm(boolean skipGsm)
public VMSSend setTtsLector(VMSSend.Lector lector)
public VMSSend setInterval(Integer interval)
public VMSSend setFrom(String from)
protected StatusResponse createResponse(String data)
createResponse in class AbstractAction<StatusResponse>protected String endPoint()
endPoint in class AbstractAction<StatusResponse>Copyright © 2024. All rights reserved.