Package org.apache.struts2.factory
Class StrutsResultFactory
java.lang.Object
org.apache.struts2.factory.StrutsResultFactory
- All Implemented Interfaces:
ResultFactory
Default implementation which uses
ParamNameAwareResult
to accept or throw away parameters-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuildResult
(ResultConfig resultConfig, Map<String, Object> extraContext) void
setObjectFactory
(ObjectFactory objectFactory) protected void
protected void
void
setReflectionProvider
(ReflectionProvider provider)
-
Field Details
-
objectFactory
-
reflectionProvider
-
-
Constructor Details
-
StrutsResultFactory
public StrutsResultFactory()
-
-
Method Details
-
setObjectFactory
-
setReflectionProvider
-
buildResult
public Result buildResult(ResultConfig resultConfig, Map<String, Object> extraContext) throws Exception- Specified by:
buildResult
in interfaceResultFactory
- Throws:
Exception
-
setParameters
-
setParameter
-