Mercurial Hosting > luan
comparison src/org/eclipse/jetty/server/Response.java @ 887:df84a1741687
make Connector reference to server explicit
| author | Franklin Schmidt <fschmidt@gmail.com> | 
|---|---|
| date | Tue, 04 Oct 2016 23:59:56 -0600 | 
| parents | 8e9db0bbf4f9 | 
| children | cab5830e1ab0 | 
   comparison
  equal
  deleted
  inserted
  replaced
| 886:0d876a03ab0b | 887:df84a1741687 | 
|---|---|
| 250 ErrorHandler error_handler = null; | 250 ErrorHandler error_handler = null; | 
| 251 ContextHandler.Context context = request.getContext(); | 251 ContextHandler.Context context = request.getContext(); | 
| 252 if (context!=null) | 252 if (context!=null) | 
| 253 error_handler=context.getContextHandler().getErrorHandler(); | 253 error_handler=context.getContextHandler().getErrorHandler(); | 
| 254 if (error_handler==null) | 254 if (error_handler==null) | 
| 255 error_handler = _connection.getConnector().getServer().getBean(ErrorHandler.class); | 255 error_handler = _connection.getConnector().server.getBean(ErrorHandler.class); | 
| 256 if (error_handler!=null) | 256 if (error_handler!=null) | 
| 257 { | 257 { | 
| 258 request.setAttribute(RequestDispatcher.ERROR_STATUS_CODE,new Integer(code)); | 258 request.setAttribute(RequestDispatcher.ERROR_STATUS_CODE,new Integer(code)); | 
| 259 request.setAttribute(RequestDispatcher.ERROR_MESSAGE, message); | 259 request.setAttribute(RequestDispatcher.ERROR_MESSAGE, message); | 
| 260 request.setAttribute(RequestDispatcher.ERROR_REQUEST_URI, request.getRequestURI()); | 260 request.setAttribute(RequestDispatcher.ERROR_REQUEST_URI, request.getRequestURI()); | 
