Enum Class Parameter.Source

java.lang.Object
java.lang.Enum<Parameter.Source>
org.glassfish.jersey.model.Parameter.Source
All Implemented Interfaces:
Serializable, Comparable<Parameter.Source>, java.lang.constant.Constable
Enclosing class:
Parameter

public static enum Parameter.Source extends Enum<Parameter.Source>
Parameter injection sources type.
  • Enum Constant Details

    • CONTEXT

      public static final Parameter.Source CONTEXT
      Context 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.
    • URI

      public static final Parameter.Source URI
      Uri 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 Details

    • values

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

      public static Parameter.Source valueOf(String name)
      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 name
      NullPointerException - if the argument is null