Package org.mockserver.matchers
Enum MatchDifference.Field
- java.lang.Object
-
- java.lang.Enum<MatchDifference.Field>
-
- org.mockserver.matchers.MatchDifference.Field
-
- All Implemented Interfaces:
Serializable,Comparable<MatchDifference.Field>
- Enclosing class:
- MatchDifference
public static enum MatchDifference.Field extends Enum<MatchDifference.Field>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BINARY_BODYBODYCOOKIESDNS_CLASSDNS_NAMEDNS_TYPEHEADERSKEEP_ALIVEMETHODOPENAPIOPERATIONPATHPATH_PARAMETERSPROTOCOLQUERY_PARAMETERSSECURE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()static MatchDifference.FieldvalueOf(String name)Returns the enum constant of this type with the specified name.static MatchDifference.Field[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
METHOD
public static final MatchDifference.Field METHOD
-
PATH
public static final MatchDifference.Field PATH
-
PATH_PARAMETERS
public static final MatchDifference.Field PATH_PARAMETERS
-
QUERY_PARAMETERS
public static final MatchDifference.Field QUERY_PARAMETERS
-
COOKIES
public static final MatchDifference.Field COOKIES
-
HEADERS
public static final MatchDifference.Field HEADERS
-
BODY
public static final MatchDifference.Field BODY
-
SECURE
public static final MatchDifference.Field SECURE
-
PROTOCOL
public static final MatchDifference.Field PROTOCOL
-
KEEP_ALIVE
public static final MatchDifference.Field KEEP_ALIVE
-
OPERATION
public static final MatchDifference.Field OPERATION
-
OPENAPI
public static final MatchDifference.Field OPENAPI
-
DNS_NAME
public static final MatchDifference.Field DNS_NAME
-
DNS_TYPE
public static final MatchDifference.Field DNS_TYPE
-
DNS_CLASS
public static final MatchDifference.Field DNS_CLASS
-
BINARY_BODY
public static final MatchDifference.Field BINARY_BODY
-
-
Method Detail
-
values
public static MatchDifference.Field[] 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 (MatchDifference.Field c : MatchDifference.Field.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MatchDifference.Field 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
-
getName
public String getName()
-
-