Class DefaultActionAfter

java.lang.Object
com.iohao.net.framework.core.flow.internal.DefaultActionAfter
All Implemented Interfaces:
ActionAfter

public final class DefaultActionAfter extends Object implements ActionAfter
Default ActionAfter implementation that encodes the action method result into the response message.
Author:
渔民小镇
date:
2021-12-20
  • Method Details

    • execute

      public void execute(FlowContext flowContext)
      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:
      execute in interface ActionAfter
      Parameters:
      flowContext - the current request flow context
    • me

      public static DefaultActionAfter me()
      Return the singleton instance.
      Returns:
      the singleton DefaultActionAfter