public class XdsBusinessServerRequestHandler extends AbstractXdsChainHandler
XDS_FLOW_CONTROL_CONFIG| Constructor and Description |
|---|
XdsBusinessServerRequestHandler() |
| 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
|
int |
getOrder()
priority
|
void |
onAfter(io.sermant.flowcontrol.common.entity.RequestEntity requestEntity,
io.sermant.flowcontrol.common.entity.FlowControlScenario scenarioInfo,
Object result)
response processing
|
void |
onBefore(io.sermant.flowcontrol.common.entity.RequestEntity requestEntity,
io.sermant.flowcontrol.common.entity.FlowControlScenario scenarioInfo)
request processing
|
void |
onThrow(io.sermant.flowcontrol.common.entity.RequestEntity requestEntity,
io.sermant.flowcontrol.common.entity.FlowControlScenario scenarioInfo,
Throwable throwable)
response processing
|
public void onBefore(io.sermant.flowcontrol.common.entity.RequestEntity requestEntity, io.sermant.flowcontrol.common.entity.FlowControlScenario scenarioInfo)
XdsRequestHandleronBefore in interface XdsRequestHandleronBefore in class AbstractXdsChainHandlerrequestEntity - request-informationscenarioInfo - matched business informationpublic void onThrow(io.sermant.flowcontrol.common.entity.RequestEntity requestEntity, io.sermant.flowcontrol.common.entity.FlowControlScenario scenarioInfo, Throwable throwable)
XdsRequestHandleronThrow in interface XdsRequestHandleronThrow in class AbstractXdsChainHandlerrequestEntity - request-informationscenarioInfo - matched business informationthrowable - throwablepublic void onAfter(io.sermant.flowcontrol.common.entity.RequestEntity requestEntity, io.sermant.flowcontrol.common.entity.FlowControlScenario scenarioInfo, Object result)
XdsRequestHandleronAfter in interface XdsRequestHandleronAfter in class AbstractXdsChainHandlerrequestEntity - request-informationscenarioInfo - matched business informationresult - response resultpublic int getOrder()
XdsRequestHandlerprotected io.sermant.flowcontrol.common.entity.RequestEntity.RequestType direct()
AbstractXdsChainHandlerdirect in class AbstractXdsChainHandlerCopyright © 2025. All rights reserved.