KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > matuschek > http > HttpDocForget


1 package net.matuschek.http;
2
3 /*********************************************
4     Copyright (c) 2001 by Daniel Matuschek
5 *********************************************/

6
7 import java.net.URL JavaDoc;
8
9 /**
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.println("forgot document "+doc.getURL().toString());
19   }
20
21   public HttpDoc retrieveFromCache(URL JavaDoc u) {
22     return null;
23   }
24 }
25
Popular Tags