facebook4j.auth
Enum AuthType
java.lang.Object
java.lang.Enum<AuthType>
facebook4j.auth.AuthType
- All Implemented Interfaces:
- Serializable, Comparable<AuthType>
public enum AuthType
- extends Enum<AuthType>
- Since:
- Facebook4J 2.4.0
- Author:
- Ryuji Yamashita - roundrop at gmail.com
Method Summary |
static AuthType |
of(String value)
|
static AuthType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static AuthType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
HTTPS
public static final AuthType HTTPS
REAUTHENTICATE
public static final AuthType REAUTHENTICATE
REREQUEST
public static final AuthType REREQUEST
values
public static AuthType[] 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 (AuthType c : AuthType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static AuthType 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 name
NullPointerException
- if the argument is null
of
public static AuthType of(String value)
Copyright © 2019. All rights reserved.