Enum OAuth1SignatureType
- java.lang.Object
-
- java.lang.Enum<OAuth1SignatureType>
-
- com.github.scribejava.core.builder.api.OAuth1SignatureType
-
- All Implemented Interfaces:
Serializable,Comparable<OAuth1SignatureType>,Constable
public enum OAuth1SignatureType extends Enum<OAuth1SignatureType>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HEADERQUERY_STRING
-
Method Summary
Modifier and Type Method Description static OAuth1SignatureTypevalueOf(String name)Returns the enum constant of this type with the specified name.static OAuth1SignatureType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HEADER
public static final OAuth1SignatureType HEADER
-
QUERY_STRING
public static final OAuth1SignatureType QUERY_STRING
-
-
Method Detail
-
values
public static OAuth1SignatureType[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OAuth1SignatureType 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
-
-