public enum SessionAttributeKeyResolver extends Enum<SessionAttributeKeyResolver> implements ToIntFunction<SessionAttributeKey>, BiFunction<String,Integer,SessionAttributeKey>
SessionAttributeKey.| Modifier and Type | Class and Description |
|---|---|
static class |
SessionAttributeKeyResolver.SessionAttributeKeyExternalizer |
static class |
SessionAttributeKeyResolver.SessionAttributeKeyFormat |
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
SessionAttributeKey |
apply(String sessionId,
Integer attributeId) |
int |
applyAsInt(SessionAttributeKey key) |
static SessionAttributeKeyResolver |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SessionAttributeKeyResolver[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfandThenpublic static final SessionAttributeKeyResolver INSTANCE
public static SessionAttributeKeyResolver[] values()
for (SessionAttributeKeyResolver c : SessionAttributeKeyResolver.values()) System.out.println(c);
public static SessionAttributeKeyResolver valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic SessionAttributeKey apply(String sessionId, Integer attributeId)
apply in interface BiFunction<String,Integer,SessionAttributeKey>public int applyAsInt(SessionAttributeKey key)
applyAsInt in interface ToIntFunction<SessionAttributeKey>Copyright © 2018 JBoss by Red Hat. All rights reserved.