You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bo...@apache.org on 2006/06/28 22:24:20 UTC

svn commit: r417866 [3/3] - in /ant/sandbox/antlibs/http/trunk: docs/ src/etc/testcases/http/ src/main/org/apache/ant/http/ src/war/WEB-INF/ src/war/resources/

Modified: ant/sandbox/antlibs/http/trunk/src/main/org/apache/ant/http/NullOutputStream.java
URL: http://svn.apache.org/viewvc/ant/sandbox/antlibs/http/trunk/src/main/org/apache/ant/http/NullOutputStream.java?rev=417866&r1=417865&r2=417866&view=diff
==============================================================================
--- ant/sandbox/antlibs/http/trunk/src/main/org/apache/ant/http/NullOutputStream.java (original)
+++ ant/sandbox/antlibs/http/trunk/src/main/org/apache/ant/http/NullOutputStream.java Wed Jun 28 13:24:19 2006
@@ -1,69 +1,69 @@
-/*
- * Copyright  2001-2006 The Apache Software Foundation
- *
- *  Licensed 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 org.apache.ant.http;
-
-import java.io.IOException;
-import java.io.OutputStream;
-
-/**
- * simple output stream which discards all write requests. This should really be
- * part of java.io, as it is sporadically invaluable
- *
- * @created March 17, 2001
- */
-public final class NullOutputStream extends OutputStream {
-
-    /**
-     * discard all incoming bytes
-     *
-     * @param b byte to write
-     * @throws IOException never throwable in this subclass
-     */
-    public void write(int b)
-            throws IOException {
-    }
-
-
-    /**
-     * discard all incoming bytes
-     *
-     * @param b byte array
-     * @throws IOException never throwable in this subclass
-     */
-    public void write(byte[] b)
-            throws IOException {
-    }
-
-
-    /**
-     * discard all incoming bytes
-     *
-     * @param b   byte array
-     * @param off starting offset
-     * @param len length to write
-     * @throws IOException never throwable in this subclass
-     */
-    public void write(byte[] b,
-                      int off,
-                      int len)
-            throws IOException {
-    }
-
-}
-
-
+/*
+ * Copyright  2001-2006 The Apache Software Foundation
+ *
+ *  Licensed 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 org.apache.ant.http;
+
+import java.io.IOException;
+import java.io.OutputStream;
+
+/**
+ * simple output stream which discards all write requests. This should really be
+ * part of java.io, as it is sporadically invaluable
+ *
+ * @created March 17, 2001
+ */
+public final class NullOutputStream extends OutputStream {
+
+    /**
+     * discard all incoming bytes
+     *
+     * @param b byte to write
+     * @throws IOException never throwable in this subclass
+     */
+    public void write(int b)
+            throws IOException {
+    }
+
+
+    /**
+     * discard all incoming bytes
+     *
+     * @param b byte array
+     * @throws IOException never throwable in this subclass
+     */
+    public void write(byte[] b)
+            throws IOException {
+    }
+
+
+    /**
+     * discard all incoming bytes
+     *
+     * @param b   byte array
+     * @param off starting offset
+     * @param len length to write
+     * @throws IOException never throwable in this subclass
+     */
+    public void write(byte[] b,
+                      int off,
+                      int len)
+            throws IOException {
+    }
+
+}
+
+

Propchange: ant/sandbox/antlibs/http/trunk/src/main/org/apache/ant/http/NullOutputStream.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: ant/sandbox/antlibs/http/trunk/src/main/org/apache/ant/http/antlib.xml
URL: http://svn.apache.org/viewvc/ant/sandbox/antlibs/http/trunk/src/main/org/apache/ant/http/antlib.xml?rev=417866&r1=417865&r2=417866&view=diff
==============================================================================
--- ant/sandbox/antlibs/http/trunk/src/main/org/apache/ant/http/antlib.xml (original)
+++ ant/sandbox/antlibs/http/trunk/src/main/org/apache/ant/http/antlib.xml Wed Jun 28 13:24:19 2006
@@ -1,26 +1,26 @@
-<?xml version="1.0"?>
-<!--
- Copyright  2006 The Apache Software Foundation
-
-  Licensed 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.
--->
-<antlib xmlns:http="antlib:org.apache.ant.http">
-
-  <taskdef name="get"
-           classname="org.apache.ant.http.HttpGet"/>
-  <taskdef name="post"
-           classname="org.apache.ant.http.HttpPost"/>
-  <taskdef name="head"
-           classname="org.apache.ant.http.HttpHead"/>
-
-</antlib>
+<?xml version="1.0"?>
+<!--
+ Copyright  2006 The Apache Software Foundation
+
+  Licensed 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.
+-->
+<antlib xmlns:http="antlib:org.apache.ant.http">
+
+  <taskdef name="get"
+           classname="org.apache.ant.http.HttpGet"/>
+  <taskdef name="post"
+           classname="org.apache.ant.http.HttpPost"/>
+  <taskdef name="head"
+           classname="org.apache.ant.http.HttpHead"/>
+
+</antlib>

Propchange: ant/sandbox/antlibs/http/trunk/src/main/org/apache/ant/http/antlib.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ant/sandbox/antlibs/http/trunk/src/war/WEB-INF/web.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ant/sandbox/antlibs/http/trunk/src/war/resources/error.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ant/sandbox/antlibs/http/trunk/src/war/resources/headers.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: ant/sandbox/antlibs/http/trunk/src/war/resources/index.html
URL: http://svn.apache.org/viewvc/ant/sandbox/antlibs/http/trunk/src/war/resources/index.html?rev=417866&r1=417865&r2=417866&view=diff
==============================================================================
--- ant/sandbox/antlibs/http/trunk/src/war/resources/index.html (original)
+++ ant/sandbox/antlibs/http/trunk/src/war/resources/index.html Wed Jun 28 13:24:19 2006
@@ -1,15 +1,15 @@
-<html>
-<head><title>Ant test webapp</title></head>
-<body>
-
-
-<ul>
-    
-    <li><a href="error.jsp">Error page</a></li>
-    <li><a href="headers.jsp">Header listing</a></li>
-</ul>
-
-</body>
-
-
+<html>
+<head><title>Ant test webapp</title></head>
+<body>
+
+
+<ul>
+    
+    <li><a href="error.jsp">Error page</a></li>
+    <li><a href="headers.jsp">Header listing</a></li>
+</ul>
+
+</body>
+
+
 </html>

Propchange: ant/sandbox/antlibs/http/trunk/src/war/resources/index.html
------------------------------------------------------------------------------
    svn:eol-style = native



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org