JETTY-1271 handled unavailable exception
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2255 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
parent
71f4d444a5
commit
442c7995e6
|
@ -34,6 +34,7 @@ jetty-7.2-SNAPSHOT
|
||||||
+ JETTY-1250 Parallel start of HandlerCollection
|
+ JETTY-1250 Parallel start of HandlerCollection
|
||||||
+ JETTY-1256 annotation jars from Orbit
|
+ JETTY-1256 annotation jars from Orbit
|
||||||
+ JETTY-1261 errant listener usage in StandardDescriptorProcessor
|
+ JETTY-1261 errant listener usage in StandardDescriptorProcessor
|
||||||
|
+ JETTY-1271 handled unavailable exception
|
||||||
+ Fix jetty-plus.xml for new configuration names
|
+ Fix jetty-plus.xml for new configuration names
|
||||||
+ Added ignore to Logger interface
|
+ Added ignore to Logger interface
|
||||||
+ Improved debug dump
|
+ Improved debug dump
|
||||||
|
|
|
@ -709,6 +709,7 @@ public class ContextHandler extends ScopedHandler implements Attributes, Server.
|
||||||
case __SHUTDOWN:
|
case __SHUTDOWN:
|
||||||
return false;
|
return false;
|
||||||
case __UNAVAILABLE:
|
case __UNAVAILABLE:
|
||||||
|
baseRequest.setHandled(true);
|
||||||
response.sendError(HttpServletResponse.SC_SERVICE_UNAVAILABLE);
|
response.sendError(HttpServletResponse.SC_SERVICE_UNAVAILABLE);
|
||||||
return false;
|
return false;
|
||||||
default:
|
default:
|
||||||
|
@ -924,6 +925,7 @@ public class ContextHandler extends ScopedHandler implements Attributes, Server.
|
||||||
catch(HttpException e)
|
catch(HttpException e)
|
||||||
{
|
{
|
||||||
Log.debug(e);
|
Log.debug(e);
|
||||||
|
baseRequest.setHandled(true);
|
||||||
response.sendError(e.getStatus(), e.getReason());
|
response.sendError(e.getStatus(), e.getReason());
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
|
|
Loading…
Reference in New Issue