|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ie.ncl.wap.push.WSPRequest ie.ncl.wap.push.ServiceLoading
public class ServiceLoading
Service Loading is used to send
a URL to a mobile phone for the purposes
of initiating an Internet session on the phone.
The user may be prompted to retrieve the
page/data as specified by the URL depending on the
optional 'action' set in the Service Loading.
Service Loading is supported by phones that are WAP 1.2 compliant
(e.g. Ericsson T68)
Service Loading requests are sent to mobile phones using the WAPPush object.
WAPPush
Field Summary | |
---|---|
static int |
ACTION_CACHE
A Service Loading sent to a mobile with an cache action will cause the URL in the request to be loaded on the phone. |
static int |
ACTION_EXECUTE_HIGH
A Service Loading sent to a mobile with an execute high action will cause the URL in the request to be loaded on the phone. |
static int |
ACTION_EXECUTE_LOW
A Service Loading sent to a mobile with an 'execute low' action will cause the URL in the request to be loaded on the phone. |
Fields inherited from class ie.ncl.wap.push.WSPRequest |
---|
SECURITY_METHOD_NETWPIN, SECURITY_METHOD_USERNETWPIN, SECURITY_METHOD_USERPIN, SECURITY_METHOD_USERPINMAC |
Constructor Summary | |
---|---|
ServiceLoading(java.net.URL url)
Create a Service Loading object specifying the URL of the page to be retrieved. |
Method Summary | |
---|---|
int |
getAction()
Get the action of the Service Loading. |
java.net.URL |
getHref()
Alias for getURL. |
java.net.URL |
getURL()
Get the URL of the Service Loading. |
java.lang.String |
getXml()
|
void |
setAction(int action)
Set the action of the Service Loading. |
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 |
Field Detail |
---|
public static int ACTION_EXECUTE_LOW
public static int ACTION_EXECUTE_HIGH
public static int ACTION_CACHE
Constructor Detail |
---|
public ServiceLoading(java.net.URL url)
Method Detail |
---|
public java.lang.String getXml()
getXml
in class WSPRequest
public java.net.URL getURL()
public java.net.URL getHref()
public int getAction()
ACTION_EXECUTE_HIGH
,
ACTION_EXECUTE_LOW
,
ACTION_CACHE
public void setAction(int action)
ACTION_EXECUTE_HIGH
,
ACTION_EXECUTE_LOW
,
ACTION_CACHE
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |