Enum HandlerChainCustomizer.Phase

    • 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 a Response
    • 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 name
        NullPointerException - if the argument is null