public enum UndertowSpecificationProvider extends Enum<UndertowSpecificationProvider> implements SpecificationProvider<javax.servlet.http.HttpSession,javax.servlet.ServletContext,javax.servlet.http.HttpSessionActivationListener,javax.servlet.http.HttpSessionBindingListener>
| 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() |
Class<javax.servlet.http.HttpSessionBindingListener> |
getHttpSessionBindingListenerClass() |
Consumer<javax.servlet.http.HttpSession> |
postActivateNotifier(javax.servlet.http.HttpSessionActivationListener listener) |
Consumer<javax.servlet.http.HttpSession> |
prePassivateNotifier(javax.servlet.http.HttpSessionActivationListener listener) |
BiConsumer<javax.servlet.http.HttpSession,String> |
valueBoundNotifier(javax.servlet.http.HttpSessionBindingListener 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.
|
BiConsumer<javax.servlet.http.HttpSession,String> |
valueUnboundNotifier(javax.servlet.http.HttpSessionBindingListener listener) |
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>public Class<javax.servlet.http.HttpSessionBindingListener> getHttpSessionBindingListenerClass()
getHttpSessionBindingListenerClass in interface HttpSessionBindingListenerProvider<javax.servlet.http.HttpSession,javax.servlet.ServletContext,javax.servlet.http.HttpSessionBindingListener>public BiConsumer<javax.servlet.http.HttpSession,String> valueBoundNotifier(javax.servlet.http.HttpSessionBindingListener listener)
valueBoundNotifier in interface HttpSessionBindingListenerProvider<javax.servlet.http.HttpSession,javax.servlet.ServletContext,javax.servlet.http.HttpSessionBindingListener>public BiConsumer<javax.servlet.http.HttpSession,String> valueUnboundNotifier(javax.servlet.http.HttpSessionBindingListener listener)
valueUnboundNotifier in interface HttpSessionBindingListenerProvider<javax.servlet.http.HttpSession,javax.servlet.ServletContext,javax.servlet.http.HttpSessionBindingListener>Copyright © 2020 JBoss by Red Hat. All rights reserved.