diff src/org/eclipse/jetty/server/handler/HandlerWrapper.java @ 1000:32d4b569567c

simplify handle()
author Franklin Schmidt <fschmidt@gmail.com>
date Wed, 19 Oct 2016 04:22:51 -0600
parents d9d95acded81
children
line wrap: on
line diff
--- a/src/org/eclipse/jetty/server/handler/HandlerWrapper.java	Wed Oct 19 00:59:46 2016 -0600
+++ b/src/org/eclipse/jetty/server/handler/HandlerWrapper.java	Wed Oct 19 04:22:51 2016 -0600
@@ -21,7 +21,6 @@
 import java.io.IOException;
 
 import javax.servlet.ServletException;
-import javax.servlet.http.HttpServletRequest;
 import javax.servlet.http.HttpServletResponse;
 
 import org.eclipse.jetty.server.Handler;
@@ -105,12 +104,12 @@
 		super.doStop();
 	}
 
-	/* ------------------------------------------------------------ */
-	public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException
+	@Override
+	public void handle(String target, Request request, HttpServletResponse response) throws IOException, ServletException
 	{
 		if (_handler!=null && isStarted())
 		{
-			_handler.handle(target,baseRequest, request, response);
+			_handler.handle(target, request, response);
 		}
 	}