com.atlassian.xwork.results
Class ProfiledVelocityResult
java.lang.Object
com.opensymphony.webwork.dispatcher.WebWorkResultSupport
com.opensymphony.webwork.dispatcher.VelocityResult
com.atlassian.xwork.results.ProfiledVelocityResult
- All Implemented Interfaces:
- com.opensymphony.webwork.WebWorkStatics, com.opensymphony.xwork.Result, java.io.Serializable
- Direct Known Subclasses:
- XmlVelocityResult
public class ProfiledVelocityResult
- extends com.opensymphony.webwork.dispatcher.VelocityResult
A subclass of VelocityResult which adds profiling to execution and template retrieval.
- See Also:
- Serialized Form
| Fields inherited from class com.opensymphony.webwork.dispatcher.WebWorkResultSupport |
DEFAULT_PARAM, parse |
| Fields inherited from interface com.opensymphony.webwork.WebWorkStatics |
HTTP_REQUEST, HTTP_RESPONSE, PAGE_CONTEXT, SERLVET_DISPATCHER, SERVLET_CONFIG, SERVLET_DISPATCHER |
|
Method Summary |
void |
doExecute(java.lang.String finalLocation,
com.opensymphony.xwork.ActionInvocation invocation)
|
protected org.apache.velocity.Template |
getTemplate(com.opensymphony.xwork.util.OgnlValueStack stack,
org.apache.velocity.app.VelocityEngine velocity,
com.opensymphony.xwork.ActionInvocation invocation,
java.lang.String location)
|
| Methods inherited from class com.opensymphony.webwork.dispatcher.VelocityResult |
createContext, getContentType, getEncoding |
| Methods inherited from class com.opensymphony.webwork.dispatcher.WebWorkResultSupport |
execute, setLocation, setParse |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProfiledVelocityResult
public ProfiledVelocityResult()
doExecute
public void doExecute(java.lang.String finalLocation,
com.opensymphony.xwork.ActionInvocation invocation)
throws java.lang.Exception
- Overrides:
doExecute in class com.opensymphony.webwork.dispatcher.VelocityResult
- Throws:
java.lang.Exception
getTemplate
protected org.apache.velocity.Template getTemplate(com.opensymphony.xwork.util.OgnlValueStack stack,
org.apache.velocity.app.VelocityEngine velocity,
com.opensymphony.xwork.ActionInvocation invocation,
java.lang.String location)
throws java.lang.Exception
- Overrides:
getTemplate in class com.opensymphony.webwork.dispatcher.VelocityResult
- Throws:
java.lang.Exception
Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.