Package org.mockserver.model
Enum ParameterStyle
- java.lang.Object
-
- java.lang.Enum<ParameterStyle>
-
- org.mockserver.model.ParameterStyle
-
- All Implemented Interfaces:
Serializable,Comparable<ParameterStyle>
public enum ParameterStyle extends Enum<ParameterStyle>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEEP_OBJECTFORMFORM_EXPLODEDLABELLABEL_EXPLODEDMATRIXMATRIX_EXPLODEDPIPE_DELIMITEDPIPE_DELIMITED_EXPLODEDSIMPLESIMPLE_EXPLODEDSPACE_DELIMITEDSPACE_DELIMITED_EXPLODED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetRegex()booleanisExploded()booleanisExplodedObjectStyle()StringtoString()static ParameterStylevalueOf(String name)Returns the enum constant of this type with the specified name.static ParameterStyle[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SIMPLE
public static final ParameterStyle SIMPLE
-
SIMPLE_EXPLODED
public static final ParameterStyle SIMPLE_EXPLODED
-
LABEL
public static final ParameterStyle LABEL
-
LABEL_EXPLODED
public static final ParameterStyle LABEL_EXPLODED
-
MATRIX
public static final ParameterStyle MATRIX
-
MATRIX_EXPLODED
public static final ParameterStyle MATRIX_EXPLODED
-
FORM_EXPLODED
public static final ParameterStyle FORM_EXPLODED
-
FORM
public static final ParameterStyle FORM
-
SPACE_DELIMITED_EXPLODED
public static final ParameterStyle SPACE_DELIMITED_EXPLODED
-
SPACE_DELIMITED
public static final ParameterStyle SPACE_DELIMITED
-
PIPE_DELIMITED_EXPLODED
public static final ParameterStyle PIPE_DELIMITED_EXPLODED
-
PIPE_DELIMITED
public static final ParameterStyle PIPE_DELIMITED
-
DEEP_OBJECT
public static final ParameterStyle DEEP_OBJECT
-
-
Method Detail
-
values
public static ParameterStyle[] 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 (ParameterStyle c : ParameterStyle.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ParameterStyle 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
-
getRegex
public String getRegex()
-
isExploded
public boolean isExploded()
-
isExplodedObjectStyle
public boolean isExplodedObjectStyle()
-
toString
public String toString()
- Overrides:
toStringin classEnum<ParameterStyle>
-
-