cziegeler 2003/08/12 01:03:12
Modified: src/java/org/apache/cocoon/caching CachedResponse.java
Log:
Making this subclassable.
Revision Changes Path
1.5 +7 -6
cocoon-2.1/src/java/org/apache/cocoon/caching/CachedResponse.java
Index: CachedResponse.java
===================================================================
RCS file:
/home/cvs/cocoon-2.1/src/java/org/apache/cocoon/caching/CachedResponse.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- CachedResponse.java 6 Aug 2003 09:26:44 -0000 1.4
+++ CachedResponse.java 12 Aug 2003 08:03:12 -0000 1.5
@@ -65,13 +65,13 @@
* @author <a href="mailto:[EMAIL PROTECTED]">Carsten Ziegeler</a>
* @version CVS $Id$
*/
-public final class CachedResponse
+public class CachedResponse
implements Serializable {
- private final SourceValidity[] validityObjects;
- private final byte[] response;
- private Long expires;
- private final long lastModified;
+ protected final SourceValidity[] validityObjects;
+ protected final byte[] response;
+ protected Long expires;
+ protected final long lastModified;
/**
* Create a new entry for the cache.
@@ -155,6 +155,7 @@
// Return the value rounded to the nearest second.
return lastModified - (lastModified % 1000);
}
+
/**
* @return the last modified time
*/