Author: pete
Date: Thu Sep 2 18:42:46 2010
New Revision: 992047
URL: http://svn.apache.org/viewvc?rev=992047&view=rev
Log:
fixed javadoc
Modified:
wicket/trunk/wicket/src/main/java/org/apache/wicket/protocol/http/RequestUtils.java
Modified:
wicket/trunk/wicket/src/main/java/org/apache/wicket/protocol/http/RequestUtils.java
URL:
http://svn.apache.org/viewvc/wicket/trunk/wicket/src/main/java/org/apache/wicket/protocol/http/RequestUtils.java?rev=992047&r1=992046&r2=992047&view=diff
==============================================================================
---
wicket/trunk/wicket/src/main/java/org/apache/wicket/protocol/http/RequestUtils.java
(original)
+++
wicket/trunk/wicket/src/main/java/org/apache/wicket/protocol/http/RequestUtils.java
Thu Sep 2 18:42:46 2010
@@ -247,11 +247,14 @@ public final class RequestUtils
/**
* set all required headers to disable caching
- *
- * "Pragma" is required for older browsers only supporting HTTP 1.0.
- * "Cache" is recommended for HTTP 1.1.
- * "Expires" additionally sets the content expiry in the past which
effectively prohibits caching.
- * "Date" is recommended in general
+ * <p/>
+ * the following headers are set:
+ * <ul>
+ * <li>"Pragma" is set for older browsers only supporting HTTP 1.0.</li>
+ * <li>"Cache-Control" is set for modern browsers that support HTTP
1.1.</li>
+ * <li>"Expires" additionally sets the content expiry in the past which
effectively prohibits caching</li>
+ * <li>"Date" is recommended in general</li>
+ * </ul>
*
* @param response web response
*/