harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r405697 - /incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/CookieHandler.java
Date Wed, 10 May 2006 10:03:28 GMT
Author: tellison
Date: Wed May 10 03:03:25 2006
New Revision: 405697

URL: http://svn.apache.org/viewcvs?rev=405697&view=rev
Log:
Generics uplift for CookieHandler

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/CookieHandler.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/CookieHandler.java
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/CookieHandler.java?rev=405697&r1=405696&r2=405697&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/CookieHandler.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/CookieHandler.java
Wed May 10 03:03:25 2006
@@ -16,6 +16,7 @@
 package java.net;
 
 import java.io.IOException;
+import java.util.List;
 import java.util.Map;
 
 /**
@@ -60,28 +61,30 @@
 	}
 
 	/**
-	 * searchs and gets all cookies in the cache by the specified uri in the
-	 * request header.
-	 * 
-	 * @param uri
-	 *            the specified uri to search for
-	 * @param requestHeaders
-	 *            a list of request headers
-	 * @return a map that record all such cookies, the map is unchangeable
-	 * @throws IOException
-	 *             if some error of I/O operation occurs
-	 */
-	public abstract Map get(URI uri, Map requestHeaders) throws IOException;
+     * Searchs and gets all cookies in the cache by the specified uri in the
+     * request header.
+     * 
+     * @param uri
+     *            the specified uri to search for
+     * @param requestHeaders
+     *            a list of request headers
+     * @return a map that record all such cookies, the map is unchangeable
+     * @throws IOException
+     *             if some error of I/O operation occurs
+     */
+    public abstract Map<String, List<String>> get(URI uri,
+            Map<String, List<String>> requestHeaders) throws IOException;
 
 	/**
-	 * sets cookies according to uri and responseHeaders
-	 * 
-	 * @param uri
-	 *            the specified uri
-	 * @param responseHeaders
-	 *            a list of request headers
-	 * @throws IOException
-	 *             if some error of I/O operation occurs
-	 */
-	public abstract void put(URI uri, Map responseHeaders) throws IOException;
+     * Sets cookies according to uri and responseHeaders
+     * 
+     * @param uri
+     *            the specified uri
+     * @param responseHeaders
+     *            a list of request headers
+     * @throws IOException
+     *             if some error of I/O operation occurs
+     */
+    public abstract void put(URI uri, Map<String, List<String>> responseHeaders)
+            throws IOException;
 }



Mime
View raw message