Package net.gini.android.requests
Class BearerUploadRequest
- java.lang.Object
-
- com.android.volley.Request<T>
-
- com.android.volley.toolbox.JsonRequest<android.net.Uri>
-
- net.gini.android.requests.BearerLocationRequest
-
- net.gini.android.requests.BearerUploadRequest
-
- All Implemented Interfaces:
java.lang.Comparable<com.android.volley.Request<android.net.Uri>>
public class BearerUploadRequest extends BearerLocationRequest
-
-
Constructor Summary
Constructors Constructor Description BearerUploadRequest(int method, java.lang.String url, byte[] uploadData, java.lang.String contentType, Session session, GiniApiType giniApiType, com.android.volley.Response.Listener<android.net.Uri> listener, com.android.volley.Response.ErrorListener errorListener, com.android.volley.RetryPolicy retryPolicy, java.util.Map<java.lang.String,java.lang.String> headers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getBody()
java.lang.String
getBodyContentType()
java.util.Map<java.lang.String,java.lang.String>
getHeaders()
-
Methods inherited from class net.gini.android.requests.BearerLocationRequest
parseNetworkResponse
-
Methods inherited from class com.android.volley.toolbox.JsonRequest
cancel, deliverResponse, 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
-
BearerUploadRequest
public BearerUploadRequest(int method, java.lang.String url, byte[] uploadData, java.lang.String contentType, Session session, GiniApiType giniApiType, com.android.volley.Response.Listener<android.net.Uri> listener, com.android.volley.Response.ErrorListener errorListener, com.android.volley.RetryPolicy retryPolicy, java.util.Map<java.lang.String,java.lang.String> headers)
-
-
Method Detail
-
getBody
public byte[] getBody()
- Overrides:
getBody
in classcom.android.volley.toolbox.JsonRequest<android.net.Uri>
-
getHeaders
public java.util.Map<java.lang.String,java.lang.String> getHeaders()
- Overrides:
getHeaders
in classBearerLocationRequest
-
getBodyContentType
public java.lang.String getBodyContentType()
- Overrides:
getBodyContentType
in classcom.android.volley.toolbox.JsonRequest<android.net.Uri>
-
-