ie.ncl.wap.push
Class OTASettings
java.lang.Object
ie.ncl.wap.push.WSPRequest
ie.ncl.wap.push.OTASettings
public class OTASettings
- extends WSPRequest
The OTA Settings class is used to send Internet configuration
to a mobile phone. When a user receives the Internet
settings on their mobile phone they are prompted to save.
Please note that only some models of phone support this operation,
(e.g. Nokia and Ericsson Internet phones).
OTA Settings are sent to the phone using the WAPPush object.
- See Also:
WAPPush
Field Summary |
static java.lang.String |
AUTHTYPE_CHAP
CHAP is encrypted password authentication. |
static java.lang.String |
AUTHTYPE_PAP
PAP is clear text password authentication. |
Method Summary |
static OTASettings |
createDialupSettings(java.lang.String name,
java.net.InetAddress proxy,
java.lang.String dialNumber,
java.lang.String authType,
java.lang.String username,
java.lang.String password,
java.net.URL homePage)
Create a OTASettings object with Dialup bearer settings. |
static OTASettings |
createGPRSSettings(java.lang.String name,
java.net.InetAddress proxy,
java.lang.String accessPoint,
java.lang.String authType,
java.lang.String username,
java.lang.String password,
java.net.URL homePage)
Create a OTASettings object with GPRS bearer settings. |
java.lang.String |
getXml()
|
Methods inherited from class ie.ncl.wap.push.WSPRequest |
encode, encodeToSms, encodeToSms, encodeToSms, encodeToSms, entityEncode, generateMac, getAttributes, getContentType, getEncoding, getHeader, getHeaderNames, getNetworkPin, getTransactionID, getUserPin, main, setAttributes, setEncoding, setHeader, setNetworkPin, setTransactionID, setUserPin, toSmartMessage, toSmartMessage, toSmartMessage, toSmartMessage |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AUTHTYPE_PAP
public static final java.lang.String AUTHTYPE_PAP
- PAP is clear text password authentication.
This value can be used to set the 'authtype' of the OTA settings.
- See Also:
- Constant Field Values
AUTHTYPE_CHAP
public static final java.lang.String AUTHTYPE_CHAP
- CHAP is encrypted password authentication.
This value can be used to set the 'authtype' of the OTA settings.
- See Also:
- Constant Field Values
createDialupSettings
public static OTASettings createDialupSettings(java.lang.String name,
java.net.InetAddress proxy,
java.lang.String dialNumber,
java.lang.String authType,
java.lang.String username,
java.lang.String password,
java.net.URL homePage)
- Create a OTASettings object with Dialup bearer settings.
These values are specified by your mobile internet service provider.
- See Also:
AUTHTYPE_PAP
,
AUTHTYPE_CHAP
createGPRSSettings
public static OTASettings createGPRSSettings(java.lang.String name,
java.net.InetAddress proxy,
java.lang.String accessPoint,
java.lang.String authType,
java.lang.String username,
java.lang.String password,
java.net.URL homePage)
- Create a OTASettings object with GPRS bearer settings.
These values are specified by your mobile internet service provider.
- See Also:
AUTHTYPE_PAP
,
AUTHTYPE_CHAP
getXml
public java.lang.String getXml()
- Specified by:
getXml
in class WSPRequest