Package org.forgerock.openam.oauth2
Enum OAuth2Constants.UrlLocation
- java.lang.Object
-
- java.lang.Enum<OAuth2Constants.UrlLocation>
-
- org.forgerock.openam.oauth2.OAuth2Constants.UrlLocation
-
- All Implemented Interfaces:
Serializable,Comparable<OAuth2Constants.UrlLocation>
- Enclosing class:
- OAuth2Constants
public static enum OAuth2Constants.UrlLocation extends Enum<OAuth2Constants.UrlLocation>
Indicates the location of an entity in a URL.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OAuth2Constants.UrlLocationvalueOf(String name)Returns the enum constant of this type with the specified name.static OAuth2Constants.UrlLocation[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
QUERY
public static final OAuth2Constants.UrlLocation QUERY
The query part of the URL.
-
FRAGMENT
public static final OAuth2Constants.UrlLocation FRAGMENT
The fragment part of the URL.
-
-
Method Detail
-
values
public static OAuth2Constants.UrlLocation[] 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 (OAuth2Constants.UrlLocation c : OAuth2Constants.UrlLocation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OAuth2Constants.UrlLocation 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
-
-