Package org.mockserver.model
Enum Action.Type
- java.lang.Object
-
- java.lang.Enum<Action.Type>
-
- org.mockserver.model.Action.Type
-
- All Implemented Interfaces:
Serializable,Comparable<Action.Type>
public static enum Action.Type extends Enum<Action.Type>
-
-
Enum Constant Summary
-
Field Summary
Fields Modifier and Type Field Description Action.Directiondirection
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Action.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static Action.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FORWARD
public static final Action.Type FORWARD
-
FORWARD_TEMPLATE
public static final Action.Type FORWARD_TEMPLATE
-
FORWARD_CLASS_CALLBACK
public static final Action.Type FORWARD_CLASS_CALLBACK
-
FORWARD_OBJECT_CALLBACK
public static final Action.Type FORWARD_OBJECT_CALLBACK
-
FORWARD_REPLACE
public static final Action.Type FORWARD_REPLACE
-
FORWARD_VALIDATE
public static final Action.Type FORWARD_VALIDATE
-
RESPONSE
public static final Action.Type RESPONSE
-
RESPONSE_TEMPLATE
public static final Action.Type RESPONSE_TEMPLATE
-
RESPONSE_CLASS_CALLBACK
public static final Action.Type RESPONSE_CLASS_CALLBACK
-
RESPONSE_OBJECT_CALLBACK
public static final Action.Type RESPONSE_OBJECT_CALLBACK
-
SSE_RESPONSE
public static final Action.Type SSE_RESPONSE
-
WEBSOCKET_RESPONSE
public static final Action.Type WEBSOCKET_RESPONSE
-
GRPC_STREAM_RESPONSE
public static final Action.Type GRPC_STREAM_RESPONSE
-
BINARY_RESPONSE
public static final Action.Type BINARY_RESPONSE
-
DNS_RESPONSE
public static final Action.Type DNS_RESPONSE
-
LLM_RESPONSE
public static final Action.Type LLM_RESPONSE
-
ERROR
public static final Action.Type ERROR
-
-
Field Detail
-
direction
public final Action.Direction direction
-
-
Method Detail
-
values
public static Action.Type[] 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 (Action.Type c : Action.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Action.Type 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
-
-