aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShirish Kalele <kalele@google.com>2014-08-19 14:18:07 -0700
committerShirish Kalele <kalele@google.com>2014-08-19 14:18:07 -0700
commit82fb1b23e63fa109a91532ce3c0c6f3ea9b7bb88 (patch)
tree2d27c7b70848c7f5b2f089490b6f907082a3c2bd /src
parent7cee57096298316fc2212a1531f02e0562c21a54 (diff)
downloadvolley-82fb1b23e63fa109a91532ce3c0c6f3ea9b7bb88.tar.gz
Add a public accessor for a Request's ErrorListener.
Add a public accessor for a Request's ErrorListener. Change-Id: Ifd3b8f818dd0e9db0183f08321043aae7c92c72c Signed-off-by: Shirish Kalele <kalele@google.com>
Diffstat (limited to 'src')
-rw-r--r--src/com/android/volley/Request.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/com/android/volley/Request.java b/src/com/android/volley/Request.java
index 53093e6..89938d7 100644
--- a/src/com/android/volley/Request.java
+++ b/src/com/android/volley/Request.java
@@ -164,6 +164,13 @@ public abstract class Request<T> implements Comparable<Request<T>> {
}
/**
+ * @return this request's {@link com.android.volley.Response.ErrorListener}.
+ */
+ public Response.ErrorListener getErrorListener() {
+ return mErrorListener;
+ }
+
+ /**
* @return A tag for use with {@link TrafficStats#setThreadStatsTag(int)}
*/
public int getTrafficStatsTag() {