Add the missing onStartAsync event
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Wed, 22 Sep 2010 20:04:32 +0000 (20:04 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Wed, 22 Sep 2010 20:04:32 +0000 (20:04 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1000164 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/catalina/core/AsyncListenerWrapper.java

index b4f64f9..9c274ed 100644 (file)
@@ -30,19 +30,23 @@ public class AsyncListenerWrapper {
 
     private AsyncListener listener = null;
     
+    
+    public void fireOnStartAsync(AsyncEvent event) throws IOException {
+        listener.onStartAsync(event);
+    }
+
+    
     public void fireOnComplete(AsyncEvent event) throws IOException {
-        // TODO SERVLET3 - async
         listener.onComplete(event);
     }
 
 
     public void fireOnTimeout(AsyncEvent event) throws IOException {
-        // TODO SERVLET3 - async 
         listener.onTimeout(event);
     }
+
     
     public void fireOnError(AsyncEvent event) throws IOException {
-        // TODO SERVLET3 - async 
         listener.onError(event);
     }
 
@@ -51,6 +55,7 @@ public class AsyncListenerWrapper {
         return listener;
     }
 
+    
     public void setListener(AsyncListener listener) {
         this.listener = listener;
     }