fixed build failures
This commit is contained in:
@ -21,6 +21,13 @@ public class MiniHttpRequestPage extends MiniHttpRequestHandler {
|
|||||||
/** the 'body' portion of our response page */
|
/** the 'body' portion of our response page */
|
||||||
protected Tag body;
|
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 */
|
/** Creates a new instance of MiniHttpRequestPage */
|
||||||
public MiniHttpRequestPage(MiniHttpServer server, Object socket, Object arg) throws Exception {
|
public MiniHttpRequestPage(MiniHttpServer server, Object socket, Object arg) throws Exception {
|
||||||
super(server, socket, arg);
|
super(server, socket, arg);
|
||||||
|
@ -7,10 +7,10 @@ package net.i2p.aum.test;
|
|||||||
import java.util.*;
|
import java.util.*;
|
||||||
import net.i2p.aum.http.*;
|
import net.i2p.aum.http.*;
|
||||||
|
|
||||||
public class HttpServerTest extends MiniHttpRequestHandler {
|
public class HttpServerTest extends MiniHttpRequestPage {
|
||||||
|
|
||||||
public HttpServerTest(Object socket) throws Exception {
|
public HttpServerTest(MiniHttpServer serv, Object socket) throws Exception {
|
||||||
super(socket);
|
super(serv, socket);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void on_GET() throws Exception {
|
public void on_GET() throws Exception {
|
||||||
|
Reference in New Issue
Block a user