org.ow2.petals.binding.soap.listener.incoming.jetty
Class ErrorHandler
java.lang.Object
org.mortbay.component.AbstractLifeCycle
org.mortbay.jetty.handler.AbstractHandler
org.mortbay.jetty.handler.ErrorHandler
org.ow2.petals.binding.soap.listener.incoming.jetty.ErrorHandler
- All Implemented Interfaces:
- org.mortbay.component.LifeCycle, org.mortbay.jetty.Handler
public class ErrorHandler
- extends org.mortbay.jetty.handler.ErrorHandler
A hanlder to replace the Jetty one in order to provide better message...
- Since:
- 3.1
- Author:
- Christophe HAMERLING - eBM WebSourcing
| Fields inherited from class org.mortbay.jetty.handler.AbstractHandler |
_string |
| Fields inherited from interface org.mortbay.jetty.Handler |
ALL, DEFAULT, ERROR, FORWARD, INCLUDE, REQUEST |
|
Method Summary |
protected void |
writeErrorPageBody(javax.servlet.http.HttpServletRequest request,
java.io.Writer writer,
int code,
java.lang.String message,
boolean showStacks)
|
protected void |
writeErrorPageMessage(javax.servlet.http.HttpServletRequest request,
java.io.Writer writer,
int code,
java.lang.String message,
java.lang.String uri)
|
| Methods inherited from class org.mortbay.jetty.handler.ErrorHandler |
handle, handleErrorPage, isShowStacks, setShowStacks, writeErrorPage, writeErrorPageHead, writeErrorPageStacks |
| Methods inherited from class org.mortbay.jetty.handler.AbstractHandler |
destroy, doStart, doStop, getServer, setServer, toString |
| Methods inherited from class org.mortbay.component.AbstractLifeCycle |
isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, start, stop |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.mortbay.component.LifeCycle |
isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, start, stop |
ErrorHandler
public ErrorHandler(boolean showStacks)
- Parameters:
showStacks -
writeErrorPageMessage
protected void writeErrorPageMessage(javax.servlet.http.HttpServletRequest request,
java.io.Writer writer,
int code,
java.lang.String message,
java.lang.String uri)
throws java.io.IOException
- Overrides:
writeErrorPageMessage in class org.mortbay.jetty.handler.ErrorHandler
- Throws:
java.io.IOException
writeErrorPageBody
protected void writeErrorPageBody(javax.servlet.http.HttpServletRequest request,
java.io.Writer writer,
int code,
java.lang.String message,
boolean showStacks)
throws java.io.IOException
- Overrides:
writeErrorPageBody in class org.mortbay.jetty.handler.ErrorHandler
- Throws:
java.io.IOException
Copyright © 2005-2010 OW2 Consortium. All Rights Reserved.