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

simplify handle()
author Franklin Schmidt <fschmidt@gmail.com>
date Wed, 19 Oct 2016 04:22:51 -0600
parents b9aa175d9a29
children
line wrap: on
line diff
--- a/src/org/eclipse/jetty/server/handler/HandlerCollection.java	Wed Oct 19 00:59:46 2016 -0600
+++ b/src/org/eclipse/jetty/server/handler/HandlerCollection.java	Wed Oct 19 04:22:51 2016 -0600
@@ -22,7 +22,6 @@
 import java.util.concurrent.CountDownLatch;
 
 import javax.servlet.ServletException;
-import javax.servlet.http.HttpServletRequest;
 import javax.servlet.http.HttpServletResponse;
 
 import org.eclipse.jetty.server.Handler;
@@ -132,12 +131,8 @@
 		this._parallelStart = parallelStart;
 	}
 
-
-	/* ------------------------------------------------------------ */
-	/**
-	 * @see Handler#handle(String, Request, HttpServletRequest, HttpServletResponse)
-	 */
-	public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response) 
+	@Override
+	public void handle(String target, Request request, HttpServletResponse response) 
 		throws IOException, ServletException
 	{
 		if (_handlers!=null && isStarted())
@@ -148,7 +143,7 @@
 			{
 				try
 				{
-					_handlers[i].handle(target,baseRequest, request, response);
+					_handlers[i].handle(target, request, response);
 				}
 				catch(IOException e)
 				{