diff src/org/eclipse/jetty/server/AbstractHttpConnection.java @ 1007:945568ee77ac

remove HttpBuffersImpl
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 23 Oct 2016 17:40:20 -0600
parents 0e96ce3db20a
children 2712133d5bce
line wrap: on
line diff
--- a/src/org/eclipse/jetty/server/AbstractHttpConnection.java	Sun Oct 23 17:21:20 2016 -0600
+++ b/src/org/eclipse/jetty/server/AbstractHttpConnection.java	Sun Oct 23 17:40:20 2016 -0600
@@ -29,7 +29,6 @@
 import javax.servlet.http.HttpServletResponse;
 
 import org.eclipse.jetty.http.EncodedHttpURI;
-import org.eclipse.jetty.http.HttpBuffersImpl;
 import org.eclipse.jetty.http.HttpException;
 import org.eclipse.jetty.http.HttpFields;
 import org.eclipse.jetty.http.HttpGenerator;
@@ -122,11 +121,10 @@
 	{
 		super(endpoint);
 		_connector = connector;
-		HttpBuffersImpl ab = _connector._buffers;
-		_parser = new HttpParser(ab.getRequestBuffers(), endpoint, new RequestHandler());
+		_parser = new HttpParser(_connector.getRequestBuffers(), endpoint, new RequestHandler());
 		_request = new Request(this);
 		_response = new Response(this);
-		_generator = new HttpGenerator(ab.getResponseBuffers(), endpoint);
+		_generator = new HttpGenerator(_connector.getResponseBuffers(), endpoint);
 		_server = connector.server;
 	}