bug 344529 Ability to customize the error handling of the OSGi HttpService

git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3066 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
Hugues Malphettes 2011-05-03 07:42:01 +00:00
parent 25a7cc4ab7
commit 9ca191cd4a
1 changed files with 8 additions and 1 deletions

View File

@ -53,7 +53,7 @@ public class HttpServiceErrorPageErrorHandler extends ErrorPageErrorHandler
}
catch (ServletException e)
{
//well
}
}
if (!response.isCommitted())
@ -61,6 +61,13 @@ public class HttpServiceErrorPageErrorHandler extends ErrorPageErrorHandler
super.handle(target, baseRequest, request, response);
}
}
@Override
protected void doStop() throws Exception
{
INSTANCE = null;
super.doStop();
}