Author: fhanik
Date: Tue Jun 26 18:56:52 2012
New Revision: 1354166

URL: http://svn.apache.org/viewvc?rev=1354166&view=rev
Log:
Add missing classes

Added:
    tomcat/trunk/java/javax/servlet/ReadListener.java   (with props)
    tomcat/trunk/java/javax/servlet/WriteListener.java   (with props)
    tomcat/trunk/java/javax/servlet/http/ProtocolHandler.java   (with props)
    tomcat/trunk/java/javax/servlet/http/WebConnection.java   (with props)

Added: tomcat/trunk/java/javax/servlet/ReadListener.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/javax/servlet/ReadListener.java?rev=1354166&view=auto
==============================================================================
--- tomcat/trunk/java/javax/servlet/ReadListener.java (added)
+++ tomcat/trunk/java/javax/servlet/ReadListener.java Tue Jun 26 18:56:52 2012
@@ -0,0 +1,27 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package javax.servlet;
+/**
+ * TODO SERVLET 3.1
+ * @author filip
+ *
+ */
+public interface ReadListener extends java.util.EventListener{
+    public abstract void onDataAvailable();
+    public abstract void onAllDataRead();
+    public abstract void onError(java.lang.Throwable throwable);
+}

Propchange: tomcat/trunk/java/javax/servlet/ReadListener.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: tomcat/trunk/java/javax/servlet/WriteListener.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/javax/servlet/WriteListener.java?rev=1354166&view=auto
==============================================================================
--- tomcat/trunk/java/javax/servlet/WriteListener.java (added)
+++ tomcat/trunk/java/javax/servlet/WriteListener.java Tue Jun 26 18:56:52 2012
@@ -0,0 +1,27 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package javax.servlet;
+
+/**
+ * TODO SERVLET 3.1
+ * @author filip
+ *
+ */
+public interface WriteListener extends java.util.EventListener{
+    public void onWritePossible();
+    public void onError(java.lang.Throwable throwable);
+}
\ No newline at end of file

Propchange: tomcat/trunk/java/javax/servlet/WriteListener.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: tomcat/trunk/java/javax/servlet/http/ProtocolHandler.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/javax/servlet/http/ProtocolHandler.java?rev=1354166&view=auto
==============================================================================
--- tomcat/trunk/java/javax/servlet/http/ProtocolHandler.java (added)
+++ tomcat/trunk/java/javax/servlet/http/ProtocolHandler.java Tue Jun 26 
18:56:52 2012
@@ -0,0 +1,25 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package javax.servlet.http;
+/**
+ * TODO SERVLET 3.1
+ * @author filip
+ *
+ */
+public interface ProtocolHandler {
+    public abstract void init(javax.servlet.http.WebConnection connection);
+}

Propchange: tomcat/trunk/java/javax/servlet/http/ProtocolHandler.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: tomcat/trunk/java/javax/servlet/http/WebConnection.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/javax/servlet/http/WebConnection.java?rev=1354166&view=auto
==============================================================================
--- tomcat/trunk/java/javax/servlet/http/WebConnection.java (added)
+++ tomcat/trunk/java/javax/servlet/http/WebConnection.java Tue Jun 26 18:56:52 
2012
@@ -0,0 +1,33 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package javax.servlet.http;
+
+import java.io.IOException;
+
+import javax.servlet.ServletInputStream;
+import javax.servlet.ServletOutputStream;
+/**
+ * TODO SERVLET 3.1
+ * @author filip
+ *
+ */
+public interface WebConnection {
+    public abstract ServletInputStream getInputStream()
+            throws IOException;
+    public abstract ServletOutputStream getOutputStream()
+            throws IOException;
+}
\ No newline at end of file

Propchange: tomcat/trunk/java/javax/servlet/http/WebConnection.java
------------------------------------------------------------------------------
    svn:eol-style = native



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to