< prev index next >

src/java.base/share/classes/java/net/CacheResponse.java

Print this page

        

@@ -40,10 +40,15 @@
  * @since 1.5
  */
 public abstract class CacheResponse {
 
     /**
+     * Constructor for subclasses to call.
+     */
+    public CacheResponse() {}
+
+    /**
      * Returns the response headers as a Map.
      *
      * @return An immutable Map from response header field names to
      *         lists of field values. The status line has null as its
      *         field name.
< prev index next >