Package com.contentstack.sdk
Interface IURLRequestHTTP
-
- All Known Implementing Classes:
CSHttpConnection
public interface IURLRequestHTTP
-
-
Method Summary
Modifier and Type Method Description ResultCallBackgetCallBackObject()StringgetController()LinkedHashMapgetHeaders()StringgetInfo()CSAppConstants.RequestMethodgetRequestMethod()org.json.JSONObjectgetResponse()booleangetTreatDuplicateKeysAsArrayItems()voidsend()voidsetCallBackObject(ResultCallBack builtResultCallBackObject)voidsetController(String controller)voidsetHeaders(LinkedHashMap headers)voidsetInfo(String info)voidsetRequestMethod(CSAppConstants.RequestMethod requestMethod)voidsetTreatDuplicateKeysAsArrayItems(boolean treatDuplicateKeysAsArrayItems)
-
-
-
Method Detail
-
send
void send()
-
setHeaders
void setHeaders(LinkedHashMap headers)
-
getHeaders
LinkedHashMap getHeaders()
-
setRequestMethod
void setRequestMethod(CSAppConstants.RequestMethod requestMethod)
-
getRequestMethod
CSAppConstants.RequestMethod getRequestMethod()
-
getResponse
org.json.JSONObject getResponse()
-
setInfo
void setInfo(String info)
-
getInfo
String getInfo()
-
setController
void setController(String controller)
-
getController
String getController()
-
setCallBackObject
void setCallBackObject(ResultCallBack builtResultCallBackObject)
-
getCallBackObject
ResultCallBack getCallBackObject()
-
setTreatDuplicateKeysAsArrayItems
void setTreatDuplicateKeysAsArrayItems(boolean treatDuplicateKeysAsArrayItems)
-
getTreatDuplicateKeysAsArrayItems
boolean getTreatDuplicateKeysAsArrayItems()
-
-