public class SystemServerReqHandler extends FlowControlHandler<io.sermant.flowcontrol.common.core.rule.fault.Fault>
XDS_FLOW_CONTROL_CONFIG| Constructor and Description |
|---|
SystemServerReqHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected io.sermant.flowcontrol.common.entity.RequestEntity.RequestType |
direct()
request direction, both are processed by default, In actual processing, the request direction determines whether
it needs to be processed by the current handler
|
String |
getContextName()
gets the context cache name
|
int |
getOrder()
priority
|
void |
onBefore(RequestContext context,
io.sermant.flowcontrol.common.entity.FlowControlScenario businessEntity)
request processing
|
void |
onResult(RequestContext context,
io.sermant.flowcontrol.common.entity.FlowControlScenario scenarioInfo,
Object result)
response processing
|
void |
onThrow(RequestContext context,
io.sermant.flowcontrol.common.entity.FlowControlScenario scenarioInfo,
Throwable throwable)
response processing
|
getHandlersFromCache, isSkippublic void onBefore(RequestContext context, io.sermant.flowcontrol.common.entity.FlowControlScenario businessEntity)
RequestHandleronBefore in interface RequestHandleronBefore in class AbstractChainHandlercontext - request contextbusinessEntity - matched business informationpublic void onThrow(RequestContext context, io.sermant.flowcontrol.common.entity.FlowControlScenario scenarioInfo, Throwable throwable)
RequestHandleronThrow in interface RequestHandleronThrow in class AbstractChainHandlercontext - request contextscenarioInfo - matched business informationthrowable - throwablepublic void onResult(RequestContext context, io.sermant.flowcontrol.common.entity.FlowControlScenario scenarioInfo, Object result)
RequestHandleronResult in interface RequestHandleronResult in class AbstractChainHandlercontext - request contextscenarioInfo - matched business informationresult - response resultprotected io.sermant.flowcontrol.common.entity.RequestEntity.RequestType direct()
AbstractChainHandlerdirect in class AbstractChainHandlerpublic int getOrder()
RequestHandlerpublic String getContextName()
FlowControlHandlergetContextName in class FlowControlHandler<io.sermant.flowcontrol.common.core.rule.fault.Fault>Copyright © 2025. All rights reserved.