harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r405696 - in /incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net: CacheResponse.java ResponseCache.java SecureCacheResponse.java
Date Wed, 10 May 2006 09:54:23 GMT
Author: tellison
Date: Wed May 10 02:54:21 2006
New Revision: 405696

URL: http://svn.apache.org/viewcvs?rev=405696&view=rev
Log:
Generics uplift for HTTP response caches.

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/CacheResponse.java
    incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/ResponseCache.java
    incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/SecureCacheResponse.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/CacheResponse.java
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/CacheResponse.java?rev=405696&r1=405695&r2=405696&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/CacheResponse.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/CacheResponse.java
Wed May 10 02:54:21 2006
@@ -17,6 +17,7 @@
 
 import java.io.IOException;
 import java.io.InputStream;
+import java.util.List;
 import java.util.Map;
 
 /**
@@ -54,5 +55,5 @@
 	 * @throws IOException
 	 *             if an I/O error is encounted while retrieving the response headers.
 	 */
-	public abstract Map getHeaders() throws IOException;
+	public abstract Map<String,List<String>> getHeaders() throws IOException;
 }

Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/ResponseCache.java
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/ResponseCache.java?rev=405696&r1=405695&r2=405696&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/ResponseCache.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/ResponseCache.java
Wed May 10 02:54:21 2006
@@ -15,6 +15,7 @@
 package java.net;
 
 import java.io.IOException;
+import java.util.List;
 import java.util.Map;
 
 /**
@@ -120,7 +121,7 @@
 	 *             If any one of the parameters is null
 	 */
 	public abstract CacheResponse get(URI uri, String rqstMethod,
-			Map rqstHeaders) throws IOException;
+            Map<String,List<String>> rqstHeaders) throws IOException;
 
 	/**
 	 * Protocol handler calls this method after retrieving resources.

Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/SecureCacheResponse.java
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/SecureCacheResponse.java?rev=405696&r1=405695&r2=405696&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/SecureCacheResponse.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/SecureCacheResponse.java
Wed May 10 02:54:21 2006
@@ -15,6 +15,7 @@
 package java.net;
 
 import java.security.Principal;
+import java.security.cert.Certificate;
 import java.util.List;
 
 import javax.net.ssl.SSLPeerUnverifiedException;
@@ -49,7 +50,7 @@
 	 * as a <code>List</code> of <code>Certificate</code>. If no certificate
chain was sent, 
 	 * the method returns null.
 	 */
-	public abstract List getLocalCertificateChain();
+	public abstract List<Certificate> getLocalCertificateChain();
 
 	/**
 	 * <p>
@@ -62,7 +63,7 @@
 	 * @throws SSLPeerUnverifiedException
 	 *             If the peer is unverified.
 	 */
-	public abstract List getServerCertificateChain()
+	public abstract List<Certificate> getServerCertificateChain()
 			throws SSLPeerUnverifiedException;
 
 	/**



Mime
View raw message