Mercurial Hosting > luan
comparison src/org/eclipse/jetty/server/AbstractHttpConnection.java @ 1005:0e96ce3db20a
remove HttpBuffers
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 23 Oct 2016 02:42:05 -0600 |
parents | 39154cfa58e4 |
children | 945568ee77ac |
comparison
equal
deleted
inserted
replaced
1004:3fa54d9d19cd | 1005:0e96ce3db20a |
---|---|
27 import javax.servlet.ServletOutputStream; | 27 import javax.servlet.ServletOutputStream; |
28 import javax.servlet.http.HttpServletRequest; | 28 import javax.servlet.http.HttpServletRequest; |
29 import javax.servlet.http.HttpServletResponse; | 29 import javax.servlet.http.HttpServletResponse; |
30 | 30 |
31 import org.eclipse.jetty.http.EncodedHttpURI; | 31 import org.eclipse.jetty.http.EncodedHttpURI; |
32 import org.eclipse.jetty.http.HttpBuffers; | 32 import org.eclipse.jetty.http.HttpBuffersImpl; |
33 import org.eclipse.jetty.http.HttpException; | 33 import org.eclipse.jetty.http.HttpException; |
34 import org.eclipse.jetty.http.HttpFields; | 34 import org.eclipse.jetty.http.HttpFields; |
35 import org.eclipse.jetty.http.HttpGenerator; | 35 import org.eclipse.jetty.http.HttpGenerator; |
36 import org.eclipse.jetty.http.HttpHeaderValues; | 36 import org.eclipse.jetty.http.HttpHeaderValues; |
37 import org.eclipse.jetty.http.HttpHeaders; | 37 import org.eclipse.jetty.http.HttpHeaders; |
120 | 120 |
121 protected AbstractHttpConnection(Connector connector, EndPoint endpoint) | 121 protected AbstractHttpConnection(Connector connector, EndPoint endpoint) |
122 { | 122 { |
123 super(endpoint); | 123 super(endpoint); |
124 _connector = connector; | 124 _connector = connector; |
125 HttpBuffers ab = _connector; | 125 HttpBuffersImpl ab = _connector._buffers; |
126 _parser = new HttpParser(ab.getRequestBuffers(), endpoint, new RequestHandler()); | 126 _parser = new HttpParser(ab.getRequestBuffers(), endpoint, new RequestHandler()); |
127 _request = new Request(this); | 127 _request = new Request(this); |
128 _response = new Response(this); | 128 _response = new Response(this); |
129 _generator = new HttpGenerator(ab.getResponseBuffers(), endpoint); | 129 _generator = new HttpGenerator(ab.getResponseBuffers(), endpoint); |
130 _server = connector.server; | 130 _server = connector.server; |