Enum Class HTTPAuthenticationScheme
java.lang.Object
java.lang.Enum<HTTPAuthenticationScheme>
oracle.dbtools.plugin.api.http.annotations.HTTPAuthenticationScheme
- All Implemented Interfaces:
Serializable,Comparable<HTTPAuthenticationScheme>,Constable
Describes a specific Authentication Scheme. Ex: Authorization: Basic
At the moment there are only two defined ANY and BASIC.
But there are several standard Authentication Schemes including BEARER
https://tools.ietf.org/html/rfc7235
- Author:
- dooneill
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic HTTPAuthenticationSchemeDetermine theHTTPAuthenticationSchemefor the specified textual representationstatic HTTPAuthenticationSchemeReturns the enum constant of this class with the specified name.static HTTPAuthenticationScheme[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ANY
Any Authentication Scheme -
BASIC
Basic Authentication Scheme
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
value
Determine theHTTPAuthenticationSchemefor the specified textual representation- Parameters:
text- The textual representation of theHTTPAuthenticationScheme- Returns:
BASICif the textual value equals (case insensitive)BASIC,nullANY
-