diff src/luan/modules/http/NotFound.java @ 1000:32d4b569567c

simplify handle()
author Franklin Schmidt <fschmidt@gmail.com>
date Wed, 19 Oct 2016 04:22:51 -0600
parents fe63c508a177
children 0d884377e923
line wrap: on
line diff
--- a/src/luan/modules/http/NotFound.java	Wed Oct 19 00:59:46 2016 -0600
+++ b/src/luan/modules/http/NotFound.java	Wed Oct 19 04:22:51 2016 -0600
@@ -1,7 +1,6 @@
 package luan.modules.http;
 
 import java.io.IOException;
-import javax.servlet.http.HttpServletRequest;
 import javax.servlet.http.HttpServletResponse;
 import org.eclipse.jetty.server.Request;
 import org.eclipse.jetty.server.handler.AbstractHandler;
@@ -14,10 +13,11 @@
 		this.luanHandler = luanHandler;
 	}
 
-	@Override public void handle(String target,Request baseRequest,HttpServletRequest request,HttpServletResponse response) 
+	@Override
+	public void handle(String target,Request request,HttpServletResponse response) 
 		throws IOException
 	{
-		luanHandler.handle("/not_found",baseRequest,request,response);
+		luanHandler.handle("/not_found",request,response);
 	}
 
 }