-
public interface NetworkServiceable
-
-
Method Summary
Modifier and Type Method Description abstract Unit
executeJsonRequest(Integer method, String url, HttpHeaderFields headerFields, JSONObject jsonRequest, Response.Listener<JSONObject> listener, Response.ErrorListener errorListener)
abstract Unit
executeSimpleRequest(Integer method, String url, HttpHeaderFields headerFields, Response.Listener<JSONObject> listener, Response.ErrorListener errorListener)
abstract Unit
executePollRequest(Integer method, String url, HttpHeaderFields headerFields, JSONObject jsonRequest, Integer timeoutMs, Response.Listener<JSONObject> listener, Response.ErrorListener errorListener)
abstract RequestQueue
getQueue()
abstract String
getBaseURL()
abstract Unit
setBaseURL(String baseURL)
-
-
Method Detail
-
executeJsonRequest
abstract Unit executeJsonRequest(Integer method, String url, HttpHeaderFields headerFields, JSONObject jsonRequest, Response.Listener<JSONObject> listener, Response.ErrorListener errorListener)
-
executeSimpleRequest
abstract Unit executeSimpleRequest(Integer method, String url, HttpHeaderFields headerFields, Response.Listener<JSONObject> listener, Response.ErrorListener errorListener)
-
executePollRequest
abstract Unit executePollRequest(Integer method, String url, HttpHeaderFields headerFields, JSONObject jsonRequest, Integer timeoutMs, Response.Listener<JSONObject> listener, Response.ErrorListener errorListener)
-
getQueue
abstract RequestQueue getQueue()
-
getBaseURL
abstract String getBaseURL()
-
setBaseURL
abstract Unit setBaseURL(String baseURL)
-
-
-
-