Class BearerJsonObjectRequest

  • All Implemented Interfaces:
    java.lang.Comparable<com.android.volley.Request<org.json.JSONObject>>

    public class BearerJsonObjectRequest
    extends com.android.volley.toolbox.JsonObjectRequest
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.android.volley.Request

        com.android.volley.Request.Method, com.android.volley.Request.Priority
    • Field Summary

      • Fields inherited from class com.android.volley.toolbox.JsonRequest

        PROTOCOL_CHARSET
    • 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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 class com.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 class com.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 class com.android.volley.toolbox.JsonObjectRequest