PPT Slide
class DynamicThread extends Thread {
private static String webProxy;
private static int proxyPort;
private Socket webServer;
private static Hashtable documentCache;
public DynamicThread(String proxy, int port, Socket server, Hashtable cache) {
String id = "Connection Handler Thread";
byte[] buffer = new byte[2048];
ByteArrayOutputStream webDoc = new ByteArrayOutputStream(8000);
Hashtable documentLinks = new Hashtable(50, .8f);
... // read in document from server and prefetch links here