fixed build failures

This commit is contained in:
aum
2005-04-18 18:12:32 +00:00
committed by zzz
parent 6a5170c341
commit 31e81bab17
2 changed files with 10 additions and 3 deletions

View File

@ -21,6 +21,13 @@ public class MiniHttpRequestPage extends MiniHttpRequestHandler {
/** the 'body' portion of our response page */
protected Tag body;
public MiniHttpRequestPage(MiniHttpServer server, Object socket) throws Exception {
super(server, socket, null);
this.page = new HtmlPage();
head = page.head;
body = page.body;
}
/** Creates a new instance of MiniHttpRequestPage */
public MiniHttpRequestPage(MiniHttpServer server, Object socket, Object arg) throws Exception {
super(server, socket, arg);

View File

@ -7,10 +7,10 @@ package net.i2p.aum.test;
import java.util.*;
import net.i2p.aum.http.*;
public class HttpServerTest extends MiniHttpRequestHandler {
public class HttpServerTest extends MiniHttpRequestPage {
public HttpServerTest(Object socket) throws Exception {
super(socket);
public HttpServerTest(MiniHttpServer serv, Object socket) throws Exception {
super(serv, socket);
}
public void on_GET() throws Exception {