public enum XdsHandlerChainEntry extends Enum<XdsHandlerChainEntry>
| Enum Constant and Description |
|---|
INSTANCE
singleton
|
| Modifier and Type | Method and Description |
|---|---|
void |
onAfter(io.sermant.flowcontrol.common.entity.RequestEntity requestEntity,
Object result,
io.sermant.flowcontrol.common.entity.FlowControlScenario flowControlScenario)
postset method
|
void |
onBefore(io.sermant.flowcontrol.common.entity.RequestEntity requestEntity,
io.sermant.flowcontrol.common.entity.FlowControlResult flowControlResult)
pre-method
|
void |
onThrow(io.sermant.flowcontrol.common.entity.RequestEntity requestEntity,
Throwable throwable,
io.sermant.flowcontrol.common.entity.FlowControlScenario flowControlScenario)
exception method
|
static XdsHandlerChainEntry |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XdsHandlerChainEntry[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XdsHandlerChainEntry INSTANCE
public static XdsHandlerChainEntry[] values()
for (XdsHandlerChainEntry c : XdsHandlerChainEntry.values()) System.out.println(c);
public static XdsHandlerChainEntry valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic void onBefore(io.sermant.flowcontrol.common.entity.RequestEntity requestEntity, io.sermant.flowcontrol.common.entity.FlowControlResult flowControlResult)
requestEntity - request bodyflowControlResult - flow control resultpublic void onAfter(io.sermant.flowcontrol.common.entity.RequestEntity requestEntity, Object result, io.sermant.flowcontrol.common.entity.FlowControlScenario flowControlScenario)
requestEntity - request bodyresult - execution resultflowControlScenario - Scenario information for flow controlpublic void onThrow(io.sermant.flowcontrol.common.entity.RequestEntity requestEntity, Throwable throwable, io.sermant.flowcontrol.common.entity.FlowControlScenario flowControlScenario)
requestEntity - request bodythrowable - exception messageflowControlScenario - Scenario information for flow controlCopyright © 2025. All rights reserved.