public class StrutsResultFactory extends Object implements ResultFactory
ParamNameAwareResult
to accept or throw away parametersModifier and Type | Field and Description |
---|---|
protected ObjectFactory |
objectFactory |
protected ReflectionProvider |
reflectionProvider |
Constructor and Description |
---|
StrutsResultFactory() |
Modifier and Type | Method and Description |
---|---|
Result |
buildResult(ResultConfig resultConfig,
Map<String,Object> extraContext) |
void |
setObjectFactory(ObjectFactory objectFactory) |
protected void |
setParameter(Result result,
String name,
String value,
Map<String,Object> extraContext) |
protected void |
setParameters(Map<String,Object> extraContext,
Result result,
Map<String,String> params) |
void |
setReflectionProvider(ReflectionProvider provider) |
protected ObjectFactory objectFactory
protected ReflectionProvider reflectionProvider
public void setObjectFactory(ObjectFactory objectFactory)
public void setReflectionProvider(ReflectionProvider provider)
public Result buildResult(ResultConfig resultConfig, Map<String,Object> extraContext) throws Exception
buildResult
in interface ResultFactory
Exception
protected void setParameters(Map<String,Object> extraContext, Result result, Map<String,String> params)
Copyright © 2000–2020 Apache Software Foundation. All rights reserved.