Package net.jrouter.http.servlet
Class ObjectHandlerActionFactory
java.lang.Object
net.jrouter.impl.AbstractActionFactory<String>
net.jrouter.impl.PathActionFactory
net.jrouter.impl.PathActionFactory.ColonString
net.jrouter.http.servlet.ServletActionFactory.DefaultServletActionFactory
net.jrouter.http.servlet.ObjectHandlerActionFactory
- All Implemented Interfaces:
net.jrouter.ActionFactory<String>,ServletActionFactory
提供非
String类型的结果类型处理;
及可配置的类型Class - 结果类型ResultTypeProxy映射。
-
Nested Class Summary
Nested classes/interfaces inherited from class net.jrouter.http.servlet.ServletActionFactory.DefaultServletActionFactory
ServletActionFactory.DefaultServletActionFactory.PropertiesNested classes/interfaces inherited from class net.jrouter.impl.PathActionFactory
net.jrouter.impl.PathActionFactory.ColonString, net.jrouter.impl.PathActionFactory.StringPathGeneratorNested classes/interfaces inherited from class net.jrouter.impl.AbstractActionFactory
net.jrouter.impl.AbstractActionFactory.DefaultActionFilter, net.jrouter.impl.AbstractActionFactory.DefaultObjectFactoryNested classes/interfaces inherited from interface net.jrouter.http.servlet.ServletActionFactory
ServletActionFactory.DefaultServletActionFactory, ServletActionFactory.DefaultServletActionInvocation -
Constructor Summary
ConstructorsConstructorDescriptionConstructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectinvokeResult(net.jrouter.ActionInvocation invocation, Object res) Methods inherited from class net.jrouter.http.servlet.ServletActionFactory.DefaultServletActionFactory
createActionInvocation, invokeActionMethods inherited from class net.jrouter.impl.PathActionFactory.ColonString
getDefaultStringResultType, invokeStringResultMethods inherited from class net.jrouter.impl.PathActionFactory
addAction, addActions, addResultType, clear, clearActionCache, getActionCache, getActionCacheNumber, getActions, getDefaultInterceptorStack, getDefaultResultType, getExtension, getPathGenerator, getPathMatcher, getPathSeparator, invokeActionMethods inherited from class net.jrouter.impl.AbstractActionFactory
addInterceptor, addInterceptors, addInterceptorStack, addInterceptorStacks, addResult, addResults, addResultTypes, getActionFilter, getConverterFactory, getInterceptors, getInterceptorStacks, getMethodChecker, getMethodInvokerFactory, getObjectFactory, getResults, getResultTypes, invokeAwareInterfacesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.jrouter.ActionFactory
clear, getActionFilter, getActions, getConverterFactory, getDefaultInterceptorStack, getDefaultResultType, getInterceptors, getInterceptorStacks, getMethodInvokerFactory, getObjectFactory, getPathGenerator, getResults, getResultTypes, invokeAction
-
Constructor Details
-
ObjectHandlerActionFactory
public ObjectHandlerActionFactory(ServletActionFactory.DefaultServletActionFactory.Properties properties) Constructor.- Parameters:
properties- Properties
-
-
Method Details
-
invokeResult
- Overrides:
invokeResultin classnet.jrouter.impl.PathActionFactory.ColonString
-