Author: michiel
Date: 2010-06-18 17:17:10 +0200 (Fri, 18 Jun 2010)
New Revision: 42613

Modified:
   
mmbase/trunk/applications/resources/src/main/java/org/mmbase/servlet/FileServlet.java
Log:
move javadoc

Modified: 
mmbase/trunk/applications/resources/src/main/java/org/mmbase/servlet/FileServlet.java
===================================================================
--- 
mmbase/trunk/applications/resources/src/main/java/org/mmbase/servlet/FileServlet.java
       2010-06-18 15:15:10 UTC (rev 42612)
+++ 
mmbase/trunk/applications/resources/src/main/java/org/mmbase/servlet/FileServlet.java
       2010-06-18 15:17:10 UTC (rev 42613)
@@ -424,7 +424,7 @@
 
     /**
      * http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html
-     * @return A ChainedRange object if Range header was present and If-Range 
did't provide useage. <code>null</code> otherwise.
+     * @return A ChainedRange object if Range header was present and If-Range 
didn't provide useage. <code>null</code> otherwise.
      * @since MMBase-2.0
      */
     protected ChainedRange getRange(HttpServletRequest req, File file) {
@@ -451,6 +451,9 @@
 
     }
 
+    /**
+     * @todo Generalize this stuff  with Ranges to HandleServlet, so that it 
also could work for images and attachments.
+     */
     protected static void stream(ChainedRange range, InputStream in, 
OutputStream out) throws IOException {
         byte[] buf = new byte[1024];
         if (range != null) {

_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to