public enum UndertowSpecificationProvider extends Enum<UndertowSpecificationProvider> implements SpecificationProvider<javax.servlet.http.HttpSession,javax.servlet.ServletContext,javax.servlet.http.HttpSessionActivationListener>
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
javax.servlet.http.HttpSession |
createHttpSession(ImmutableSession session,
javax.servlet.ServletContext context) |
javax.servlet.http.HttpSessionActivationListener |
createListener(Consumer<javax.servlet.http.HttpSession> prePassivate,
Consumer<javax.servlet.http.HttpSession> postActivate) |
Class<javax.servlet.http.HttpSessionActivationListener> |
getHttpSessionActivationListenerClass() |
Consumer<javax.servlet.http.HttpSession> |
postActivateNotifier(javax.servlet.http.HttpSessionActivationListener listener) |
Consumer<javax.servlet.http.HttpSession> |
prePassivateNotifier(javax.servlet.http.HttpSessionActivationListener listener) |
static UndertowSpecificationProvider |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UndertowSpecificationProvider[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UndertowSpecificationProvider INSTANCE
public static UndertowSpecificationProvider[] values()
for (UndertowSpecificationProvider c : UndertowSpecificationProvider.values()) System.out.println(c);
public static UndertowSpecificationProvider 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 javax.servlet.http.HttpSession createHttpSession(ImmutableSession session, javax.servlet.ServletContext context)
createHttpSession in interface HttpSessionFactory<javax.servlet.http.HttpSession,javax.servlet.ServletContext>public Class<javax.servlet.http.HttpSessionActivationListener> getHttpSessionActivationListenerClass()
getHttpSessionActivationListenerClass in interface HttpSessionActivationListenerProvider<javax.servlet.http.HttpSession,javax.servlet.ServletContext,javax.servlet.http.HttpSessionActivationListener>public Consumer<javax.servlet.http.HttpSession> prePassivateNotifier(javax.servlet.http.HttpSessionActivationListener listener)
prePassivateNotifier in interface HttpSessionActivationListenerProvider<javax.servlet.http.HttpSession,javax.servlet.ServletContext,javax.servlet.http.HttpSessionActivationListener>public Consumer<javax.servlet.http.HttpSession> postActivateNotifier(javax.servlet.http.HttpSessionActivationListener listener)
postActivateNotifier in interface HttpSessionActivationListenerProvider<javax.servlet.http.HttpSession,javax.servlet.ServletContext,javax.servlet.http.HttpSessionActivationListener>public javax.servlet.http.HttpSessionActivationListener createListener(Consumer<javax.servlet.http.HttpSession> prePassivate, Consumer<javax.servlet.http.HttpSession> postActivate)
createListener in interface HttpSessionActivationListenerProvider<javax.servlet.http.HttpSession,javax.servlet.ServletContext,javax.servlet.http.HttpSessionActivationListener>Copyright © 2022 JBoss by Red Hat. All rights reserved.