aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/android/volley/Request.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/android/volley/Request.java')
-rw-r--r--src/main/java/com/android/volley/Request.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/com/android/volley/Request.java b/src/main/java/com/android/volley/Request.java
index cd7290a..0b18abb 100644
--- a/src/main/java/com/android/volley/Request.java
+++ b/src/main/java/com/android/volley/Request.java
@@ -251,6 +251,12 @@ public abstract class Request<T> implements Comparable<Request<T>> {
}
}
+ void sendEvent(@RequestQueue.RequestEvent int event) {
+ if (mRequestQueue != null) {
+ mRequestQueue.sendRequestEvent(this, event);
+ }
+ }
+
/**
* Associates this request with the given queue. The request queue will be notified when this
* request has finished.