Class PluginAwareResultFactory
java.lang.Object
org.apache.struts2.factory.StrutsResultFactory
com.atlassian.confluence.impl.struts.PluginAwareResultFactory
- All Implemented Interfaces:
com.opensymphony.xwork2.factory.ResultFactory
public class PluginAwareResultFactory
extends org.apache.struts2.factory.StrutsResultFactory
A specialisation of the standard Struts
StrutsResultFactory
which adds special handling for
PluginAwareResultConfig
, and which delegates loading of the ResultTypeConfig class from the relevant
Plugin
.- Since:
- 8.0
-
Field Summary
Fields inherited from class org.apache.struts2.factory.StrutsResultFactory
objectFactory, reflectionProvider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.opensymphony.xwork2.Result
buildResult
(com.opensymphony.xwork2.config.entities.ResultConfig resultConfig, Map<String, Object> extraContext) Methods inherited from class org.apache.struts2.factory.StrutsResultFactory
setObjectFactory, setParameter, setParameters, setParameters, setReflectionProvider
-
Constructor Details
-
PluginAwareResultFactory
public PluginAwareResultFactory()
-
-
Method Details
-
buildResult
public com.opensymphony.xwork2.Result buildResult(com.opensymphony.xwork2.config.entities.ResultConfig resultConfig, Map<String, Object> extraContext) throws Exception- Specified by:
buildResult
in interfacecom.opensymphony.xwork2.factory.ResultFactory
- Overrides:
buildResult
in classorg.apache.struts2.factory.StrutsResultFactory
- Throws:
Exception
-