You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by iv...@apache.org on 2007/08/27 19:46:31 UTC

svn commit: r570193 - /wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/link/DownloadLink.java

Author: ivaynberg
Date: Mon Aug 27 10:46:30 2007
New Revision: 570193

URL: http://svn.apache.org/viewvc?rev=570193&view=rev
Log:
javadoc

Modified:
    wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/link/DownloadLink.java

Modified: wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/link/DownloadLink.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/link/DownloadLink.java?rev=570193&r1=570192&r2=570193&view=diff
==============================================================================
--- wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/link/DownloadLink.java (original)
+++ wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/link/DownloadLink.java Mon Aug 27 10:46:30 2007
@@ -27,8 +27,13 @@
 
 
 /**
- * A link that streams a file to the client. When clicked this link will prompt
- * the save as dialog in the browser.
+ * A link that streams a file to the client. When clicked this link will prompt the save as dialog
+ * in the browser.
+ * 
+ * NOTICE that this link will block the pagemap. That means only one link from the pagemap can be
+ * downloaded at a time, and also while the download happens no pages from this pagemap can be
+ * accessed. If you need to stream multiple files concurrently without blocking then you should use
+ * shared resources or a non-wicket servlet.
  * 
  * @author Igor Vaynberg (ivaynberg)
  */
@@ -46,8 +51,7 @@
 
 
 	/**
-	 * Constructor. File name used will be the result of
-	 * <code>file.getName()</code>
+	 * Constructor. File name used will be the result of <code>file.getName()</code>
 	 * 
 	 * @param id
 	 *            component id
@@ -65,8 +69,7 @@
 	}
 
 	/**
-	 * Constructor. File name used will be the result of
-	 * <code>file.getName()</code>
+	 * Constructor. File name used will be the result of <code>file.getName()</code>
 	 * 
 	 * @param id
 	 *            component id
@@ -79,8 +82,7 @@
 	}
 
 	/**
-	 * Constructor. File name used will be the result of
-	 * <code>file.getName()</code>
+	 * Constructor. File name used will be the result of <code>file.getName()</code>
 	 * 
 	 * @param id
 	 *            component id