labs-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simo...@apache.org
Subject svn commit: r794745 - /labs/magma/trunk/foundation-website/src/main/java/org/apache/magma/website/Dispatch.java
Date Thu, 16 Jul 2009 16:41:19 GMT
Author: simoneg
Date: Thu Jul 16 16:41:18 2009
New Revision: 794745

URL: http://svn.apache.org/viewvc?rev=794745&view=rev
Log:
LABS-373 : should support rewriting of any Producer, not just HtmlProducers

Modified:
    labs/magma/trunk/foundation-website/src/main/java/org/apache/magma/website/Dispatch.java

Modified: labs/magma/trunk/foundation-website/src/main/java/org/apache/magma/website/Dispatch.java
URL: http://svn.apache.org/viewvc/labs/magma/trunk/foundation-website/src/main/java/org/apache/magma/website/Dispatch.java?rev=794745&r1=794744&r2=794745&view=diff
==============================================================================
--- labs/magma/trunk/foundation-website/src/main/java/org/apache/magma/website/Dispatch.java
(original)
+++ labs/magma/trunk/foundation-website/src/main/java/org/apache/magma/website/Dispatch.java
Thu Jul 16 16:41:18 2009
@@ -156,7 +156,7 @@
 		}
 	}
 	
-	public void handleAJAX(HtmlProducer producer, HttpServletRequest req, HttpServletResponse
resp) {
+	public void handleAJAX(Producer producer, HttpServletRequest req, HttpServletResponse resp)
{
 		long expiry = producer.getExpires();
 		if (expiry == -1) expiry = 0;
 		resp.setDateHeader("Expires", System.currentTimeMillis() + expiry);



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@labs.apache.org
For additional commands, e-mail: commits-help@labs.apache.org


Mime
View raw message