You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by fs...@apache.org on 2017/07/29 13:52:45 UTC
svn commit: r1803367 -
/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/CacheManager.java
Author: fschumacher
Date: Sat Jul 29 13:52:45 2017
New Revision: 1803367
URL: http://svn.apache.org/viewvc?rev=1803367&view=rev
Log:
Add some javadoc to CacheEntry.
Modified:
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/CacheManager.java
Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/CacheManager.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/CacheManager.java?rev=1803367&r1=1803366&r2=1803367&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/CacheManager.java (original)
+++ jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/CacheManager.java Sat Jul 29 13:52:45 2017
@@ -113,10 +113,10 @@ public class CacheManager extends Config
private final String varyHeader;
/**
- *
- * @param lastModified
- * @param expires
- * @param etag
+ * Deprecated Constructor for a CacheEntry
+ * @param lastModified formatted string containing the last modification time of the http response
+ * @param expires formatted string containing the expiration time of the http response
+ * @param etag of the http response
* @deprecated use {@link CacheEntry(String lastModified, Date expires, String etag, String varyHeader)} instead
*/
@Deprecated
@@ -127,6 +127,13 @@ public class CacheManager extends Config
this.varyHeader = null;
}
+ /**
+ * Constructor for a CacheEntry
+ * @param lastModified formatted string containing the last modification time of the http response
+ * @param expires formatted string containing the expiration time of the http response
+ * @param etag of the http response
+ * @param varyHeader formatted string containing the vary header entries
+ */
public CacheEntry(String lastModified, Date expires, String etag, String varyHeader) {
this.lastModified = lastModified;
this.etag = etag;