|
Oracle Application Server Wireless J2ME SDK API Reference B14045-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Response represents the data which is generated by invoking a Service from iAS Wireless J2ME Proxy Server. Supported return types are String, Boolean, Date, Integer, Vector, and Hashtable. (byte[] coming soon). If any error occurred during the service invocation at iAS Wireless J2ME Proxy Server, a negative error code is returned, and the error message can be retrieved from getErrorMsg() method.
Method Summary | |
boolean |
getBoolean() Gets the returned data as a boolean primitive type |
boolean[] |
getBooleanArray() Gets the returned data as an array of boolean primitive type |
java.lang.Boolean |
getBooleanObj() Gets the returned data as a java.lang.Boolean |
java.lang.Boolean[] |
getBooleanObjArray() Gets the returned data as an array of java.lang.Boolean |
byte[] |
getByteArray() NOT YET IMPLEMENTED! Gets the returned data as an array of byte primitive type |
Call |
getCall() Return associated Call object reference |
java.util.Date |
getDate() Gets the returned data as a java.util.Date |
java.util.Date[] |
getDateArray() Gets the returned data as an array of java.util.Date |
java.util.Enumeration |
getEnumeration() NOT YET IMPLEMENTED! Gets the object returned from the remote procedure call as an enumeration. |
java.lang.String |
getErrorMsg() Get the error message when error occurred during the service invocation on iAS Wireless J2ME Proxy Server. |
java.util.Hashtable |
getHashtable() Gets the returned data as a java.util.Hashtable |
int |
getInt() Gets the returned data as an int primitive type |
int[] |
getIntArray() Gets the returned data as an array of int primitive type |
java.lang.Integer |
getInteger() Gets the returned data as a java.lang.Integer |
java.lang.Integer[] |
getIntegerArray() Gets the returned data as an array of java.lang.Integer |
int |
getKey() Get the cache key for this Response. |
java.lang.Object |
getObject() Gets the returned data unconverted, as java.lang.Object |
int |
getReturnCode() 0 means that the service invocation succeeded. |
java.lang.String |
getString() Gets the returned data as a java.lang.String |
java.lang.String[] |
getStringArray() Gets the returned data as an array of java.lang.String |
java.util.Vector |
getVector() Gets the returned data as a java.util.Vector |
Method Detail |
public Call getCall()
public int getReturnCode()
public java.lang.String getErrorMsg()
public java.lang.Object getObject()
public java.lang.String getString() throws ServiceException
ServiceException
public int getInt() throws ServiceException
ServiceException
public java.lang.Integer getInteger() throws ServiceException
ServiceException
public boolean getBoolean() throws ServiceException
ServiceException
public java.lang.Boolean getBooleanObj() throws ServiceException
ServiceException
public java.util.Date getDate() throws ServiceException
ServiceException
public java.util.Vector getVector() throws ServiceException
ServiceException
public java.util.Hashtable getHashtable() throws ServiceException
ServiceException
public java.lang.String[] getStringArray() throws ServiceException
ServiceException
public int[] getIntArray() throws ServiceException
ServiceException
public java.lang.Integer[] getIntegerArray() throws ServiceException
ServiceException
public boolean[] getBooleanArray() throws ServiceException
ServiceException
public java.lang.Boolean[] getBooleanObjArray() throws ServiceException
ServiceException
public java.util.Date[] getDateArray() throws ServiceException
ServiceException
public int getKey() throws ServiceException
ServiceException
public byte[] getByteArray() throws ServiceException
ServiceException
public java.util.Enumeration getEnumeration()
|
Oracle Application Server Wireless J2ME SDK API Reference B14045-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |