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 Constants Enum Constant Description COOKIESource was a cookie.HTML_LOCAL_STORAGESource was HTML Local Storage.
-
Constructor Summary
Constructors Modifier Constructor Description privateClientStorageSource()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ClientStorageService.ClientStorageSourcevalueOf(String name)Returns the enum constant of this type with the specified name.static ClientStorageService.ClientStorageSource[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COOKIE
public static final ClientStorageService.ClientStorageSource COOKIE
Source was a cookie.
-
HTML_LOCAL_STORAGE
public static final ClientStorageService.ClientStorageSource HTML_LOCAL_STORAGE
Source was HTML Local Storage.
-
-
Method Detail
-
values
public static ClientStorageService.ClientStorageSource[] 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 (ClientStorageService.ClientStorageSource c : ClientStorageService.ClientStorageSource.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ClientStorageService.ClientStorageSource 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
-
-