Package com.contentstack.sdk
Class CSHttpConnection
java.lang.Object
com.contentstack.sdk.CSHttpConnection
- All Implemented Interfaces:
IURLRequestHTTP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetInfo()org.json.JSONObjectvoidsend()voidsetAPIService(APIService service) voidsetCallBackObject(ResultCallBack callBackObject) voidvoidsetController(String controller) voidsetFormParams(HashMap<String, Object> formParams) setFormParamsGET(HashMap<String, Object> params) voidsetHeaders(LinkedHashMap<String, Object> headers) voidvoid
-
Constructor Details
-
CSHttpConnection
-
-
Method Details
-
setFormParams
-
getController
- Specified by:
getControllerin interfaceIURLRequestHTTP
-
setController
- Specified by:
setControllerin interfaceIURLRequestHTTP
-
setHeaders
- Specified by:
setHeadersin interfaceIURLRequestHTTP
-
getHeaders
- Specified by:
getHeadersin interfaceIURLRequestHTTP
-
getInfo
- Specified by:
getInfoin interfaceIURLRequestHTTP
-
setInfo
- Specified by:
setInfoin interfaceIURLRequestHTTP
-
getCallBackObject
- Specified by:
getCallBackObjectin interfaceIURLRequestHTTP
-
setCallBackObject
- Specified by:
setCallBackObjectin interfaceIURLRequestHTTP
-
getResponse
public org.json.JSONObject getResponse()- Specified by:
getResponsein interfaceIURLRequestHTTP
-
setFormParamsGET
-
send
public void send()- Specified by:
sendin interfaceIURLRequestHTTP
-
setAPIService
-
setConfig
-
setStack
-