Class BearerJsonObjectRequest
- java.lang.Object
-
- com.android.volley.Request<T>
-
- com.android.volley.toolbox.JsonRequest<org.json.JSONObject>
-
- com.android.volley.toolbox.JsonObjectRequest
-
- net.gini.android.authorization.requests.BearerJsonObjectRequest
-
- All Implemented Interfaces:
java.lang.Comparable<com.android.volley.Request<org.json.JSONObject>>
public class BearerJsonObjectRequest extends com.android.volley.toolbox.JsonObjectRequest
-
-
Constructor Summary
Constructors Constructor Description BearerJsonObjectRequest(int method, java.lang.String url, org.json.JSONObject jsonRequest, Session session, GiniApiType giniApiType, com.android.volley.Response.Listener<org.json.JSONObject> listener, com.android.volley.Response.ErrorListener errorListener, com.android.volley.RetryPolicy retryPolicy)
BearerJsonObjectRequest(int method, java.lang.String url, org.json.JSONObject jsonRequest, Session session, GiniApiType giniApiType, com.android.volley.Response.Listener<org.json.JSONObject> listener, com.android.volley.Response.ErrorListener errorListener, com.android.volley.RetryPolicy retryPolicy, java.lang.String contentType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getBodyContentType()
java.util.Map<java.lang.String,java.lang.String>
getHeaders()
protected com.android.volley.Response<org.json.JSONObject>
parseNetworkResponse(com.android.volley.NetworkResponse response)
-
Methods inherited from class com.android.volley.toolbox.JsonRequest
cancel, deliverResponse, getBody, getPostBody, getPostBodyContentType
-
Methods inherited from class com.android.volley.Request
addMarker, compareTo, deliverError, getCacheEntry, getCacheKey, getErrorListener, getMethod, getParams, getParamsEncoding, getPostParams, getPostParamsEncoding, getPriority, getRetryPolicy, getSequence, getTag, getTimeoutMs, getTrafficStatsTag, getUrl, hasHadResponseDelivered, isCanceled, markDelivered, parseNetworkError, setCacheEntry, setRequestQueue, setRetryPolicy, setSequence, setShouldCache, setShouldRetryConnectionErrors, setShouldRetryServerErrors, setTag, shouldCache, shouldRetryConnectionErrors, shouldRetryServerErrors, toString
-
-
-
-
Constructor Detail
-
BearerJsonObjectRequest
public BearerJsonObjectRequest(int method, java.lang.String url, org.json.JSONObject jsonRequest, Session session, @NonNull GiniApiType giniApiType, com.android.volley.Response.Listener<org.json.JSONObject> listener, com.android.volley.Response.ErrorListener errorListener, com.android.volley.RetryPolicy retryPolicy)
-
BearerJsonObjectRequest
public BearerJsonObjectRequest(int method, java.lang.String url, org.json.JSONObject jsonRequest, Session session, @NonNull GiniApiType giniApiType, com.android.volley.Response.Listener<org.json.JSONObject> listener, com.android.volley.Response.ErrorListener errorListener, com.android.volley.RetryPolicy retryPolicy, @Nullable java.lang.String contentType)
-
-
Method Detail
-
getBodyContentType
public java.lang.String getBodyContentType()
- Overrides:
getBodyContentType
in classcom.android.volley.toolbox.JsonRequest<org.json.JSONObject>
-
getHeaders
public java.util.Map<java.lang.String,java.lang.String> getHeaders() throws com.android.volley.AuthFailureError
- Overrides:
getHeaders
in classcom.android.volley.Request<org.json.JSONObject>
- Throws:
com.android.volley.AuthFailureError
-
parseNetworkResponse
protected com.android.volley.Response<org.json.JSONObject> parseNetworkResponse(com.android.volley.NetworkResponse response)
- Overrides:
parseNetworkResponse
in classcom.android.volley.toolbox.JsonObjectRequest
-
-