Enum Class HandlerChainCustomizer.Phase
java.lang.Object
java.lang.Enum<HandlerChainCustomizer.Phase>
org.jboss.resteasy.reactive.server.model.HandlerChainCustomizer.Phase
- All Implemented Interfaces:
Serializable
,Comparable<HandlerChainCustomizer.Phase>
,Constable
- Enclosing interface:
- HandlerChainCustomizer
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionhandlers are invoked as soon as the matched handler chain is being runhandlers are invoked just after the resource method is invokedhandlers are invoked after the handlers that run after the method invocationhandlers are added at the end of the pre match handler chain, before the next chain is determined and matched (i.e.handlers are invoked just after the resource method result has been turned into aResponse
handlers are invoked just before the resource method is invokedhandlers are added right at the start of the pre match handler chain this can only be applied globally, not on a per method basishandlers are invoked as part of resolving method parameters -
Method Summary
Modifier and TypeMethodDescriptionstatic HandlerChainCustomizer.Phase
Returns the enum constant of this class with the specified name.static HandlerChainCustomizer.Phase[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BEFORE_PRE_MATCH
handlers are added right at the start of the pre match handler chain this can only be applied globally, not on a per method basis -
AFTER_PRE_MATCH
handlers are added at the end of the pre match handler chain, before the next chain is determined and matched (i.e. after pre match filters) this can only be applied globally, not on a per method basis -
AFTER_MATCH
handlers are invoked as soon as the matched handler chain is being run -
RESOLVE_METHOD_PARAMETERS
handlers are invoked as part of resolving method parameters -
BEFORE_METHOD_INVOKE
handlers are invoked just before the resource method is invoked -
AFTER_METHOD_INVOKE
handlers are invoked just after the resource method is invoked -
AFTER_METHOD_INVOKE_SECOND_ROUND
handlers are invoked after the handlers that run after the method invocation -
AFTER_RESPONSE_CREATED
handlers are invoked just after the resource method result has been turned into aResponse
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-