Mercurial Hosting > luan
comparison src/org/eclipse/jetty/server/AbstractHttpConnection.java @ 991:688c39c50ee3
simplify ContextHandler
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 18 Oct 2016 00:22:46 -0600 |
parents | 83cc6e05a58f |
children | d9cfec64899c |
comparison
equal
deleted
inserted
replaced
990:83cc6e05a58f | 991:688c39c50ee3 |
---|---|
21 import java.io.IOException; | 21 import java.io.IOException; |
22 import java.io.InputStream; | 22 import java.io.InputStream; |
23 import java.io.PrintWriter; | 23 import java.io.PrintWriter; |
24 import java.io.Writer; | 24 import java.io.Writer; |
25 | 25 |
26 import javax.servlet.DispatcherType; | |
27 import javax.servlet.RequestDispatcher; | |
28 import javax.servlet.ServletInputStream; | 26 import javax.servlet.ServletInputStream; |
29 import javax.servlet.ServletOutputStream; | 27 import javax.servlet.ServletOutputStream; |
30 import javax.servlet.http.HttpServletRequest; | 28 import javax.servlet.http.HttpServletRequest; |
31 import javax.servlet.http.HttpServletResponse; | 29 import javax.servlet.http.HttpServletResponse; |
32 | 30 |
290 _request.setPathInfo(info); | 288 _request.setPathInfo(info); |
291 | 289 |
292 if (_out!=null) | 290 if (_out!=null) |
293 _out.reopen(); | 291 _out.reopen(); |
294 | 292 |
295 _request.setDispatcherType(DispatcherType.REQUEST); | |
296 _connector.customize(_endp, _request); | 293 _connector.customize(_endp, _request); |
297 _server.handle(this); | 294 _server.handle(this); |
298 } | 295 } |
299 catch (EofException e) | 296 catch (EofException e) |
300 { | 297 { |