Enum Parameter.Source

    • Enum Constant Detail

      • CONTEXT

        public static final Parameter.Source CONTEXT
        Context parameter injection source.
      • COOKIE

        public static final Parameter.Source COOKIE
        Cookie parameter injection source.
      • ENTITY

        public static final Parameter.Source ENTITY
        Entity parameter injection source.
      • FORM

        public static final Parameter.Source FORM
        Form parameter injection source.
      • HEADER

        public static final Parameter.Source HEADER
        Header parameter injection source.
      • MATRIX

        public static final Parameter.Source MATRIX
        Matrix parameter injection source.
      • PATH

        public static final Parameter.Source PATH
        Path parameter injection source.
      • QUERY

        public static final Parameter.Source QUERY
        Query parameter injection source.
      • SUSPENDED

        public static final Parameter.Source SUSPENDED
        Suspended async response injection source.
      • BEAN_PARAM

        public static final Parameter.Source BEAN_PARAM
        Bean param parameter injection source.
      • UNKNOWN

        public static final Parameter.Source UNKNOWN
        Unknown parameter injection source.
    • Method Detail

      • values

        public static Parameter.Source[] 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 (Parameter.Source c : Parameter.Source.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Parameter.Source 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