Package org.hl7.fhir.r5.openapi
Enum ParameterWriter.ParameterLocation
- java.lang.Object
-
- java.lang.Enum<ParameterWriter.ParameterLocation>
-
- org.hl7.fhir.r5.openapi.ParameterWriter.ParameterLocation
-
- All Implemented Interfaces:
Serializable,Comparable<ParameterWriter.ParameterLocation>
- Enclosing class:
- ParameterWriter
public static enum ParameterWriter.ParameterLocation extends Enum<ParameterWriter.ParameterLocation>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ParameterWriter.ParameterLocationvalueOf(String name)Returns the enum constant of this type with the specified name.static ParameterWriter.ParameterLocation[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
query
public static final ParameterWriter.ParameterLocation query
-
header
public static final ParameterWriter.ParameterLocation header
-
path
public static final ParameterWriter.ParameterLocation path
-
cookie
public static final ParameterWriter.ParameterLocation cookie
-
-
Method Detail
-
values
public static ParameterWriter.ParameterLocation[] 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 (ParameterWriter.ParameterLocation c : ParameterWriter.ParameterLocation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ParameterWriter.ParameterLocation 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
-
-