|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttangocard.sdk.service.ServiceProxy
public class ServiceProxy
The Class ServiceProxy.
Constructor Summary | |
---|---|
ServiceProxy(BaseRequest requestObject)
Instantiates a new service proxy. |
Method Summary | |
---|---|
boolean |
executeRequest(SuccessResponse responseSuccess)
Execute request. |
protected boolean |
mapRequest()
Map request. |
protected java.lang.String |
postRequest()
Post request. |
protected static void |
throwOnError(org.json.JSONObject responseJson)
Throw on error. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServiceProxy(BaseRequest requestObject) throws java.lang.Exception
requestObject
- the request object
java.lang.Exception
- the exceptionMethod Detail |
---|
public boolean executeRequest(SuccessResponse responseSuccess) throws java.lang.Exception
responseSuccess
- the response success
java.lang.Exception
- the exceptionprotected boolean mapRequest() throws java.lang.Exception
java.lang.Exception
- the exceptionprotected java.lang.String postRequest() throws java.lang.Exception
java.lang.Exception
- the exceptionprotected static void throwOnError(org.json.JSONObject responseJson) throws org.json.JSONException, TangoCardServiceException, TangoCardSdkException
responseJson
- the response JSON
org.json.JSONException
- the JSON exception
TangoCardServiceException
- the Tango Card service exception
TangoCardSdkException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |