| org.mortbay.jetty.handler.ErrorHandler org.mortbay.jetty.servlet.ErrorPageErrorHandler
ErrorPageErrorHandler | public class ErrorPageErrorHandler extends ErrorHandler (Code) | | Error Page Error Handler
An ErrorHandler that maps exceptions and status codes to URIs for dispatch using
the internal ERROR style of dispatch.
author: gregw |
ErrorPageErrorHandler | public ErrorPageErrorHandler()(Code) | | Parameters: context - |
addErrorPage | public void addErrorPage(int code, String uri)(Code) | | |
getErrorPages | public Map getErrorPages()(Code) | | Returns the errorPages. |
setErrorPages | public void setErrorPages(Map errorPages)(Code) | | Parameters: errorPages - The errorPages to set. A map of Exception class name or error code as a string to URI string |
Methods inherited from org.mortbay.jetty.handler.ErrorHandler | public void handle(String target, HttpServletRequest request, HttpServletResponse response, int dispatch) throws IOException(Code)(Java Doc) protected void handleErrorPage(HttpServletRequest request, Writer writer, int code, String message) throws IOException(Code)(Java Doc) public boolean isShowStacks()(Code)(Java Doc) public void setShowStacks(boolean showStacks)(Code)(Java Doc) protected void writeErrorPage(HttpServletRequest request, Writer writer, int code, String message, boolean showStacks) throws IOException(Code)(Java Doc) protected void writeErrorPageBody(HttpServletRequest request, Writer writer, int code, String message, boolean showStacks) throws IOException(Code)(Java Doc) protected void writeErrorPageHead(HttpServletRequest request, Writer writer, int code, String message) throws IOException(Code)(Java Doc) protected void writeErrorPageMessage(HttpServletRequest request, Writer writer, int code, String message, String uri) throws IOException(Code)(Java Doc) protected void writeErrorPageStacks(HttpServletRequest request, Writer writer) throws IOException(Code)(Java Doc)
|
|
|