Package com.codeborne.selenide
Enum AuthenticationType
- java.lang.Object
-
- java.lang.Enum<AuthenticationType>
-
- com.codeborne.selenide.AuthenticationType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<AuthenticationType>
@ParametersAreNonnullByDefault public enum AuthenticationType extends java.lang.Enum<AuthenticationType>
Authentication schemes.- See Also:
- Web HTTP reference
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetValue()static AuthenticationTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static AuthenticationType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BASIC
public static final AuthenticationType BASIC
-
BEARER
public static final AuthenticationType BEARER
-
DIGEST
public static final AuthenticationType DIGEST
-
HOBA
public static final AuthenticationType HOBA
-
MUTUAL
public static final AuthenticationType MUTUAL
-
AWS4_HMAC_SHA256
public static final AuthenticationType AWS4_HMAC_SHA256
-
-
Method Detail
-
values
public static AuthenticationType[] 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 (AuthenticationType c : AuthenticationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AuthenticationType valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getValue
@CheckReturnValue @Nonnull public java.lang.String getValue()
-
-