org.apache.tapestry.wml
Class WMLEngine
java.lang.Object
|
+--org.apache.tapestry.engine.AbstractEngine
|
+--org.apache.tapestry.engine.BaseEngine
|
+--org.apache.tapestry.wml.WMLEngine
- All Implemented Interfaces:
- IEngine
- public class WMLEngine
- extends BaseEngine
Subclass of BaseEngine
used for WML applications to change the
Exception, StaleLink and StaleSession pages.
- Since:
- 3.0
- Author:
- David Solis
Methods inherited from class org.apache.tapestry.engine.AbstractEngine |
getClassResolver, getDataSqueezer, getDefaultOutputEncoding, getGlobal, getHasVisit, getInfrastructure, getListeners, getLocale, getMonitor, getOutputEncoding, getPropertySource, getScriptSource, getService, getSpecification, getSpecificationSource, getVisit, getVisit, handlePageRedirectException, handleRedirectException, handleStaleLinkException, handleStaleSessionException, redirect, renderResponse, reportException, service, setLocale, setupForRequest, setVisit, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
WMLEngine
public WMLEngine()
activateExceptionPage
protected void activateExceptionPage(IRequestCycle cycle,
ResponseOutputStream output,
java.lang.Throwable cause)
throws javax.servlet.ServletException
- Description copied from class:
AbstractEngine
- Sets the Exception page's exception property, then renders the Exception page.
If the render throws an exception, then copious output is sent to System.err
and a ServletException
is thrown.
- Overrides:
activateExceptionPage
in class AbstractEngine
javax.servlet.ServletException
getExceptionPageName
protected java.lang.String getExceptionPageName()
- Overrides:
getExceptionPageName
in class AbstractEngine
- Since:
- 3.0
getStaleLinkPageName
protected java.lang.String getStaleLinkPageName()
- Overrides:
getStaleLinkPageName
in class AbstractEngine
- Since:
- 3.0
getStaleSessionPageName
protected java.lang.String getStaleSessionPageName()
- Overrides:
getStaleSessionPageName
in class AbstractEngine
- Since:
- 3.0