Class DefaultActionAfter
java.lang.Object
com.iohao.net.framework.core.flow.internal.DefaultActionAfter
- All Implemented Interfaces:
ActionAfter
Default
ActionAfter implementation that encodes
the action method result into the response message.- Author:
- 渔民小镇
- date:
- 2021-12-20
-
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(FlowContext flowContext) Encode the action method result and prepare the response for sending.static DefaultActionAfterme()Return the singleton instance.
-
Method Details
-
execute
Encode the action method result and prepare the response for sending.Delegates to the appropriate handler based on the communication type (user request or internal call).
- Specified by:
executein interfaceActionAfter- Parameters:
flowContext- the current request flow context
-
me
Return the singleton instance.- Returns:
- the singleton
DefaultActionAfter
-