org.tuckey.web.filters.urlrewrite
Class CatchElem
java.lang.Object
org.tuckey.web.filters.urlrewrite.CatchElem
- All Implemented Interfaces:
- Runnable
public class CatchElem
- extends Object
- implements Runnable
An item that will allow exceptions during "run" invocation to be caught.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CatchElem
public CatchElem()
setLoadClass
public static void setLoadClass(boolean loadClass)
isValid
public boolean isValid()
isInitialised
public boolean isInitialised()
initialise
public boolean initialise(javax.servlet.ServletContext servletContext)
- Returns:
- true on success
matches
public boolean matches(Throwable t)
execute
protected RewrittenUrl execute(javax.servlet.http.HttpServletRequest hsRequest,
javax.servlet.http.HttpServletResponse hsResponse,
Throwable originalThrowable)
throws IOException,
javax.servlet.ServletException,
InvocationTargetException
- Throws:
IOException
javax.servlet.ServletException
InvocationTargetException
getError
public String getError()
setError
public void setError(String error)
setError
public void setError(String error,
Throwable t)
getClassStr
public String getClassStr()
setClassStr
public void setClassStr(String classStr)
addRun
public void addRun(Run run)
- Specified by:
addRun in interface Runnable
getRuns
public List getRuns()
Copyright © 2001-2012 Paul Tuckey. All Rights Reserved.