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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 interface com.opensymphony.xwork2.factory.ResultFactory
      Overrides:
      buildResult in class org.apache.struts2.factory.StrutsResultFactory
      Throws:
      Exception