org.marre.wap.push
Class SmsWapPushMessage
java.lang.Object
org.marre.sms.SmsConcatMessage
org.marre.sms.SmsPortAddressedMessage
org.marre.wap.push.SmsWapPushMessage
- All Implemented Interfaces:
- SmsMessage
- Direct Known Subclasses:
- SmsMmsNotificationMessage
- public class SmsWapPushMessage
- extends SmsPortAddressedMessage
Connectionless WAP push message with SMS as bearer.
It supports the "content-type" and "X-Wap-Application-Id" headers.
- Version:
- 1.0
- Author:
- Markus Eriksson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
myWspEncodingVersion
protected byte myWspEncodingVersion
myPushMsg
protected MimeBodyPart myPushMsg
SmsWapPushMessage
protected SmsWapPushMessage()
SmsWapPushMessage
public SmsWapPushMessage(MimeBodyPart thePushMsg)
SmsWapPushMessage
public SmsWapPushMessage(WbxmlDocument thePushMsg,
MimeContentType theContentType)
SmsWapPushMessage
public SmsWapPushMessage(WbxmlDocument thePushMsg,
java.lang.String theContentType)
SmsWapPushMessage
public SmsWapPushMessage(WbxmlDocument thePushMsg)
SmsWapPushMessage
public SmsWapPushMessage(byte[] thePushMsg,
MimeContentType theContentType)
SmsWapPushMessage
public SmsWapPushMessage(byte[] thePushMsg,
java.lang.String theContentType)
buildPushMessage
protected byte[] buildPushMessage(WbxmlDocument thePushMsg)
setWspEncodingVersion
public void setWspEncodingVersion(byte wspEncodingVersion)
getUserData
public SmsUserData getUserData()
- Description copied from class:
SmsConcatMessage
- Returns the whole UD
- Specified by:
getUserData
in class SmsConcatMessage
- Returns:
- the UD
setXWapApplicationId
public void setXWapApplicationId(java.lang.String appId)
setXWapContentURI
public void setXWapContentURI(java.lang.String contentUri)
setXWapInitiatorURI
public void setXWapInitiatorURI(java.lang.String initiatorUri)
Copyright © 2002-2005 Markus Eriksson. All Rights Reserved.