01: package net.matuschek.http;
02:
03: /*********************************************
04: Copyright (c) 2001 by Daniel Matuschek
05: *********************************************/
06:
07: import java.net.URL;
08:
09: /**
10: * Simple document manager that does nothing. For debugging purposes.
11: *
12: * @author Daniel Matuschek
13: * @version $Revision: 1.5 $
14: */
15: public class HttpDocForget extends AbstractHttpDocManager {
16:
17: public void processDocument(HttpDoc doc) {
18: System.out
19: .println("forgot document " + doc.getURL().toString());
20: }
21:
22: public HttpDoc retrieveFromCache(URL u) {
23: return null;
24: }
25: }
|