Class EncodingVelocityResult
- java.lang.Object
 - 
- org.apache.struts2.result.StrutsResultSupport
 - 
- org.apache.struts2.views.velocity.result.VelocityResult
 - 
- com.atlassian.xwork.results.ProfiledVelocityResult
 - 
- com.atlassian.confluence.setup.struts.EncodingVelocityResult
 
 
 
 
 
- 
- All Implemented Interfaces:
 com.opensymphony.xwork2.Result,Serializable,org.apache.struts2.StrutsStatics
public class EncodingVelocityResult extends com.atlassian.xwork.results.ProfiledVelocityResultStruts 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
 
 
- 
- 
Constructor Summary
Constructors Constructor Description EncodingVelocityResult() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.apache.velocity.context.ContextcreateContext(org.apache.struts2.views.velocity.VelocityManager velocityManager, com.opensymphony.xwork2.util.ValueStack stack, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String location)voiddoExecute(String location, com.opensymphony.xwork2.ActionInvocation invocation)- 
Methods inherited from class org.apache.struts2.views.velocity.result.VelocityResult
getContentType, getEncoding, setDefaultEncoding, setVelocityManager 
 - 
 
 - 
 
- 
- 
Method Detail
- 
createContext
protected org.apache.velocity.context.Context createContext(org.apache.struts2.views.velocity.VelocityManager velocityManager, com.opensymphony.xwork2.util.ValueStack stack, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String location)- Overrides:
 createContextin classorg.apache.struts2.views.velocity.result.VelocityResult
 
 - 
 
 -