Package org.opensaml.storage.impl.client
Enum ClientStorageService.ClientStorageSource
java.lang.Object
java.lang.Enum<ClientStorageService.ClientStorageSource>
org.opensaml.storage.impl.client.ClientStorageService.ClientStorageSource
- All Implemented Interfaces:
Serializable
,Comparable<ClientStorageService.ClientStorageSource>
- Enclosing class:
- ClientStorageService
public static enum ClientStorageService.ClientStorageSource
extends Enum<ClientStorageService.ClientStorageSource>
Enumeration of possible sources for the data.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSource was a cookie.Source was HTML Local Storage. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
COOKIE
Source was a cookie. -
HTML_LOCAL_STORAGE
Source was HTML Local Storage.
-
-
Constructor Details
-
ClientStorageSource
private ClientStorageSource()
-
-
Method Details
-
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
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
-