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

simplify handle()
author Franklin Schmidt <fschmidt@gmail.com>
date Wed, 19 Oct 2016 04:22:51 -0600
parents 7d28be82ab75
children 39154cfa58e4
line wrap: on
line diff
--- a/src/org/eclipse/jetty/server/Server.java	Wed Oct 19 00:59:46 2016 -0600
+++ b/src/org/eclipse/jetty/server/Server.java	Wed Oct 19 04:22:51 2016 -0600
@@ -29,8 +29,6 @@
 import java.util.concurrent.TimeUnit;
 
 import javax.servlet.ServletException;
-import javax.servlet.http.HttpServletRequest;
-import javax.servlet.http.HttpServletResponse;
 
 import org.eclipse.jetty.http.HttpURI;
 import org.eclipse.jetty.server.handler.HandlerWrapper;
@@ -145,15 +143,7 @@
 		final String target = connection.getRequest().getPathInfo();
 		final Request request = connection.getRequest();
 		final Response response = connection.getResponse();
-
-		if (LOG.isDebugEnabled())
-		{
-			LOG.debug("REQUEST "+target+" on "+connection);
-			handle(target, request, request, response);
-			LOG.debug("RESPONSE "+target+"  "+connection.getResponse().getStatus()+" handled="+request.isHandled());
-		}
-		else
-			handle(target, request, request, response);
+		handle(target, request, response);
 	}
 /*
 	public void join() throws InterruptedException