public abstract class MeridianJSONRequest extends MeridianRequest
MeridianRequest.APIBuilder, MeridianRequest.BodyContentType, MeridianRequest.ErrorListener, MeridianRequest.Listener<T>, MeridianRequest.LocationsAPIBuilder, MeridianRequest.PageListener<T>
Constructor and Description |
---|
MeridianJSONRequest(String url) |
MeridianJSONRequest(String url,
JSONObject params) |
MeridianJSONRequest(String url,
Map<String,String> params) |
MeridianJSONRequest(String url,
Map<String,String> params,
MeridianRequest.BodyContentType bodyContentType) |
Modifier and Type | Method and Description |
---|---|
protected com.android.volley.Request |
buildVolleyRequest() |
boolean |
isLastPage() |
protected abstract void |
onJSONError(Throwable tr) |
protected abstract void |
onJSONResponse(JSONObject jsonObject) |
protected void |
onPagingCompletion() |
acceptsAuthenticationHeader, appendAPIVersionHeaders, appendGZIPHeaders, appendLanguageHeaders, buildRequest, cancel, encodeParameters, getBodyContentType, getJSONBody, getMethod, getPageSize, getRequestTag, getStringMapBody, getUri, isPatch, nextPage, overrideCacheHeaders, parseCacheHeaders, sendRequest, setNextPage, setRetryPolicy, setUri, supportsPaging, unGZIP
public MeridianJSONRequest(String url)
public MeridianJSONRequest(String url, Map<String,String> params, MeridianRequest.BodyContentType bodyContentType)
public MeridianJSONRequest(String url, JSONObject params)
protected abstract void onJSONResponse(JSONObject jsonObject)
protected abstract void onJSONError(Throwable tr)
protected void onPagingCompletion()
public boolean isLastPage()
protected com.android.volley.Request buildVolleyRequest()
buildVolleyRequest
in class MeridianRequest