Package com.oracle.bmc.waas.model
Enum ProtectionSettings.AllowedHttpMethods
- java.lang.Object
-
- java.lang.Enum<ProtectionSettings.AllowedHttpMethods>
-
- com.oracle.bmc.waas.model.ProtectionSettings.AllowedHttpMethods
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<ProtectionSettings.AllowedHttpMethods>
- Enclosing class:
- ProtectionSettings
public static enum ProtectionSettings.AllowedHttpMethods extends Enum<ProtectionSettings.AllowedHttpMethods> implements BmcEnum
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ProtectionSettings.AllowedHttpMethods
create(String key)
String
getValue()
static ProtectionSettings.AllowedHttpMethods
valueOf(String name)
Returns the enum constant of this type with the specified name.static ProtectionSettings.AllowedHttpMethods[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Options
public static final ProtectionSettings.AllowedHttpMethods Options
-
Get
public static final ProtectionSettings.AllowedHttpMethods Get
-
Head
public static final ProtectionSettings.AllowedHttpMethods Head
-
Post
public static final ProtectionSettings.AllowedHttpMethods Post
-
Put
public static final ProtectionSettings.AllowedHttpMethods Put
-
Delete
public static final ProtectionSettings.AllowedHttpMethods Delete
-
Trace
public static final ProtectionSettings.AllowedHttpMethods Trace
-
Connect
public static final ProtectionSettings.AllowedHttpMethods Connect
-
Patch
public static final ProtectionSettings.AllowedHttpMethods Patch
-
Propfind
public static final ProtectionSettings.AllowedHttpMethods Propfind
-
UnknownEnumValue
public static final ProtectionSettings.AllowedHttpMethods UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
-
Method Detail
-
values
public static ProtectionSettings.AllowedHttpMethods[] 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 (ProtectionSettings.AllowedHttpMethods c : ProtectionSettings.AllowedHttpMethods.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProtectionSettings.AllowedHttpMethods 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
-
create
public static ProtectionSettings.AllowedHttpMethods create(String key)
-
-