Enum 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>
- Enclosing interface:
- HandlerChainCustomizer
public static enum HandlerChainCustomizer.Phase extends Enum<HandlerChainCustomizer.Phase>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AFTER_MATCH
handlers are invoked as soon as the matched handler chain is being runAFTER_METHOD_INVOKE
handlers are invoked just after the resource method is invokedAFTER_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_RESPONSE_CREATED
handlers are invoked just after the resource method result has been turned into aResponse
BEFORE_METHOD_INVOKE
handlers are invoked just before the resource method is invokedBEFORE_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 basisRESOLVE_METHOD_PARAMETERS
handlers are invoked as part of resolving method parameters
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HandlerChainCustomizer.Phase
valueOf(String name)
Returns the enum constant of this type with the specified name.static HandlerChainCustomizer.Phase[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BEFORE_PRE_MATCH
public static final HandlerChainCustomizer.Phase 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
public static final HandlerChainCustomizer.Phase 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
public static final HandlerChainCustomizer.Phase AFTER_MATCH
handlers are invoked as soon as the matched handler chain is being run
-
RESOLVE_METHOD_PARAMETERS
public static final HandlerChainCustomizer.Phase RESOLVE_METHOD_PARAMETERS
handlers are invoked as part of resolving method parameters
-
BEFORE_METHOD_INVOKE
public static final HandlerChainCustomizer.Phase BEFORE_METHOD_INVOKE
handlers are invoked just before the resource method is invoked
-
AFTER_METHOD_INVOKE
public static final HandlerChainCustomizer.Phase AFTER_METHOD_INVOKE
handlers are invoked just after the resource method is invoked
-
AFTER_RESPONSE_CREATED
public static final HandlerChainCustomizer.Phase AFTER_RESPONSE_CREATED
handlers are invoked just after the resource method result has been turned into aResponse
-
-
Method Detail
-
values
public static HandlerChainCustomizer.Phase[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (HandlerChainCustomizer.Phase c : HandlerChainCustomizer.Phase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HandlerChainCustomizer.Phase valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-