com.feedhenry.sdk.api
Class FHCloudRequest
java.lang.Object
com.feedhenry.sdk.FHRemote
com.feedhenry.sdk.api.FHCloudRequest
- All Implemented Interfaces:
- FHAct
public class FHCloudRequest
- extends FHRemote
Field Summary |
protected static java.lang.String |
LOG_TAG
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG_TAG
protected static final java.lang.String LOG_TAG
- See Also:
- Constant Field Values
FHCloudRequest
public FHCloudRequest(android.content.Context context,
CloudProps pCloudProps)
setPath
public void setPath(java.lang.String pPath)
setMethod
public void setMethod(FHCloudRequest.Methods pMethod)
setHeaders
public void setHeaders(org.apache.http.Header[] pHeaders)
setRequestArgs
public void setRequestArgs(JSONObject pArgs)
getPath
protected java.lang.String getPath()
- Specified by:
getPath
in class FHRemote
getRequestArgs
protected JSONObject getRequestArgs()
- Specified by:
getRequestArgs
in class FHRemote
executeAsync
public void executeAsync(FHActCallback pCallback)
throws java.lang.Exception
- Description copied from interface:
FHAct
- Execute the request asynchronously. Execute the pCallback function when it finishes.
- Specified by:
executeAsync
in interface FHAct
- Overrides:
executeAsync
in class FHRemote
- Parameters:
pCallback
- the callback function
- Throws:
java.lang.Exception
buildHeaders
protected org.apache.http.Header[] buildHeaders(org.apache.http.Header[] pHeaders)
throws java.lang.Exception
- Specified by:
buildHeaders
in class FHRemote
- Throws:
java.lang.Exception