com.atlassian.confluence.setup.webwork
Class EncodingVelocityResult
java.lang.Object
com.opensymphony.webwork.dispatcher.WebWorkResultSupport
com.opensymphony.webwork.dispatcher.VelocityResult
com.atlassian.xwork.results.ProfiledVelocityResult
com.atlassian.confluence.setup.webwork.EncodingVelocityResult
- All Implemented Interfaces:
- com.opensymphony.webwork.WebWorkStatics, com.opensymphony.xwork.Result, Serializable
public class EncodingVelocityResult
- extends ProfiledVelocityResult
Webwork Velocity result that adds automatic HTML entity encoding support to the result context if the final content
type is "text/html".
- 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 |
protected org.apache.velocity.context.Context |
createContext(com.opensymphony.webwork.views.velocity.VelocityManager velocityManager,
com.opensymphony.xwork.util.OgnlValueStack stack,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String location)
|
Methods inherited from class com.opensymphony.webwork.dispatcher.VelocityResult |
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 |
EncodingVelocityResult
public EncodingVelocityResult()
createContext
protected org.apache.velocity.context.Context createContext(com.opensymphony.webwork.views.velocity.VelocityManager velocityManager,
com.opensymphony.xwork.util.OgnlValueStack stack,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String location)
- Overrides:
createContext
in class com.opensymphony.webwork.dispatcher.VelocityResult