Class FlowContextKeys
java.lang.Object
com.iohao.net.framework.core.FlowContextKeys
Holder for the
ScopedValue key used to propagate FlowContext
through the execution thread. Provides convenient access to the current
flow context within action method processing.- Since:
- 25.1
- Author:
- 渔民小镇
- date:
- 2025-10-05
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ScopedValue<FlowContext> Scoped value key carrying the current request's FlowContext. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic FlowContextGet the current FlowContext from the scoped value, or an empty no-op instance if none is bound.
-
Field Details
-
FLOW_CONTEXT
Scoped value key carrying the current request's FlowContext.
-
-
Constructor Details
-
FlowContextKeys
public FlowContextKeys()
-
-
Method Details
-
getFlowContext
Get the current FlowContext from the scoped value, or an empty no-op instance if none is bound.- Returns:
- the current FlowContext, never null
-