diff src/org/eclipse/jetty/server/AbstractHttpConnection.java @ 980:bd26bd9320e2

simplify HttpParser
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 16 Oct 2016 21:01:26 -0600
parents c8cd3e96db5f
children f46de416e219
line wrap: on
line diff
--- a/src/org/eclipse/jetty/server/AbstractHttpConnection.java	Sun Oct 16 18:01:39 2016 -0600
+++ b/src/org/eclipse/jetty/server/AbstractHttpConnection.java	Sun Oct 16 21:01:26 2016 -0600
@@ -681,7 +681,7 @@
 	}
 
 
-	private class RequestHandler extends HttpParser.EventHandler
+	private class RequestHandler implements HttpParser.EventHandler
 	{
 		@Override
 		public void startRequest(Buffer method, Buffer uri, Buffer version) throws IOException
@@ -714,13 +714,6 @@
 		}
 
 		@Override
-		public void startResponse(Buffer version, int status, Buffer reason)
-		{
-			if (LOG.isDebugEnabled())
-				LOG.debug("Bad request!: "+version+" "+status+" "+reason);
-		}
-
-		@Override
 		public void earlyEOF()
 		{
 			AbstractHttpConnection.this.earlyEOF();