public enum ParameterStyle extends Enum<ParameterStyle>
Enum Constant and Description |
---|
DEEP_OBJECT |
FORM |
FORM_EXPLODED |
LABEL |
LABEL_EXPLODED |
MATRIX |
MATRIX_EXPLODED |
PIPE_DELIMITED |
PIPE_DELIMITED_EXPLODED |
SIMPLE |
SIMPLE_EXPLODED |
SPACE_DELIMITED |
SPACE_DELIMITED_EXPLODED |
Modifier and Type | Method and Description |
---|---|
String |
getRegex() |
boolean |
isExploded() |
String |
toString() |
static ParameterStyle |
valueOf(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.
|
public static final ParameterStyle SIMPLE
public static final ParameterStyle SIMPLE_EXPLODED
public static final ParameterStyle LABEL
public static final ParameterStyle LABEL_EXPLODED
public static final ParameterStyle MATRIX
public static final ParameterStyle MATRIX_EXPLODED
public static final ParameterStyle FORM_EXPLODED
public static final ParameterStyle FORM
public static final ParameterStyle SPACE_DELIMITED_EXPLODED
public static final ParameterStyle SPACE_DELIMITED
public static final ParameterStyle PIPE_DELIMITED_EXPLODED
public static final ParameterStyle PIPE_DELIMITED
public static final ParameterStyle DEEP_OBJECT
public static ParameterStyle[] values()
for (ParameterStyle c : ParameterStyle.values()) System.out.println(c);
public static ParameterStyle valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getRegex()
public boolean isExploded()
public String toString()
toString
in class Enum<ParameterStyle>
Copyright © 2022. All rights reserved.