public class WapPushMessage extends Message
Message.MessageClass, Message.MessageType| Constructor and Description |
|---|
WapPushMessage(java.lang.String from,
java.lang.String to,
java.lang.String url,
java.lang.String title)
Instantiate a new wap-push message request, to submit a browsable / downloadable URL to the handset
|
| Modifier and Type | Method and Description |
|---|---|
void |
addParams(org.apache.http.client.methods.RequestBuilder request) |
java.lang.String |
getTitle() |
java.lang.String |
getUrl() |
java.lang.Integer |
getValidity() |
void |
setValidity(java.lang.Integer validity) |
getCallbackUrl, getClientReference, getFrom, getMessageClass, getStatusReportRequired, getTimeToLive, getTo, getType, setCallbackUrl, setClientReference, setMessageClass, setStatusReportRequired, setTimeToLivepublic WapPushMessage(java.lang.String from, java.lang.String to, java.lang.String url, java.lang.String title)
from - the 'from' address that will be seen on the handset when this message arrives,
typically either a valid short-code / long code that can be replied to, or a short text description of the application sending the message (Max 11 chars)to - the phone number of the handset that you wish to send the message tourl - This is the url that will be submitted to the handset and will appear as a browsable message in the Inbox.title - This is the title that will be associated with the url being submitted to the handsetpublic java.lang.String getUrl()
public java.lang.String getTitle()
public java.lang.Integer getValidity()
public void setValidity(java.lang.Integer validity)