Class PluginAwareResultFactory
java.lang.Object
org.apache.struts2.factory.StrutsResultFactory
com.atlassian.confluence.impl.struts.PluginAwareResultFactory
- All Implemented Interfaces:
org.apache.struts2.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 TypeMethodDescriptionorg.apache.struts2.result.Result
buildResult
(org.apache.struts2.config.entities.ResultConfig resultConfig, Map<String, Object> extraContext) Methods inherited from class org.apache.struts2.factory.StrutsResultFactory
setObjectFactory, setParameter, setParameters, setReflectionProvider
-
Constructor Details
-
PluginAwareResultFactory
public PluginAwareResultFactory()
-
-
Method Details
-
buildResult
public org.apache.struts2.result.Result buildResult(org.apache.struts2.config.entities.ResultConfig resultConfig, Map<String, Object> extraContext) throws Exception- Specified by:
buildResult
in interfaceorg.apache.struts2.factory.ResultFactory
- Overrides:
buildResult
in classorg.apache.struts2.factory.StrutsResultFactory
- Throws:
Exception
-