Enum UndertowSpecificationProvider
java.lang.Object
java.lang.Enum<UndertowSpecificationProvider>
org.wildfly.clustering.web.undertow.session.UndertowSpecificationProvider
- All Implemented Interfaces:
Serializable,Comparable<UndertowSpecificationProvider>,HttpSessionActivationListenerProvider<jakarta.servlet.http.HttpSession,,jakarta.servlet.ServletContext, jakarta.servlet.http.HttpSessionActivationListener> HttpSessionFactory<jakarta.servlet.http.HttpSession,,jakarta.servlet.ServletContext> SpecificationProvider<jakarta.servlet.http.HttpSession,jakarta.servlet.ServletContext, jakarta.servlet.http.HttpSessionActivationListener>
public enum UndertowSpecificationProvider
extends Enum<UndertowSpecificationProvider>
implements SpecificationProvider<jakarta.servlet.http.HttpSession,jakarta.servlet.ServletContext,jakarta.servlet.http.HttpSessionActivationListener>
- Author:
- Paul Ferraro
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionjakarta.servlet.http.HttpSessioncreateHttpSession(ImmutableSession session, jakarta.servlet.ServletContext context) jakarta.servlet.http.HttpSessionActivationListenercreateListener(Consumer<jakarta.servlet.http.HttpSession> prePassivate, Consumer<jakarta.servlet.http.HttpSession> postActivate) Class<jakarta.servlet.http.HttpSessionActivationListener>Consumer<jakarta.servlet.http.HttpSession>postActivateNotifier(jakarta.servlet.http.HttpSessionActivationListener listener) Consumer<jakarta.servlet.http.HttpSession>prePassivateNotifier(jakarta.servlet.http.HttpSessionActivationListener listener) 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.
-
Enum Constant Details
-
INSTANCE
-
-
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
-
createHttpSession
public jakarta.servlet.http.HttpSession createHttpSession(ImmutableSession session, jakarta.servlet.ServletContext context) - Specified by:
createHttpSessionin interfaceHttpSessionFactory<jakarta.servlet.http.HttpSession,jakarta.servlet.ServletContext>
-
getHttpSessionActivationListenerClass
public Class<jakarta.servlet.http.HttpSessionActivationListener> getHttpSessionActivationListenerClass()- Specified by:
getHttpSessionActivationListenerClassin interfaceHttpSessionActivationListenerProvider<jakarta.servlet.http.HttpSession,jakarta.servlet.ServletContext, jakarta.servlet.http.HttpSessionActivationListener>
-
prePassivateNotifier
public Consumer<jakarta.servlet.http.HttpSession> prePassivateNotifier(jakarta.servlet.http.HttpSessionActivationListener listener) - Specified by:
prePassivateNotifierin interfaceHttpSessionActivationListenerProvider<jakarta.servlet.http.HttpSession,jakarta.servlet.ServletContext, jakarta.servlet.http.HttpSessionActivationListener>
-
postActivateNotifier
public Consumer<jakarta.servlet.http.HttpSession> postActivateNotifier(jakarta.servlet.http.HttpSessionActivationListener listener) - Specified by:
postActivateNotifierin interfaceHttpSessionActivationListenerProvider<jakarta.servlet.http.HttpSession,jakarta.servlet.ServletContext, jakarta.servlet.http.HttpSessionActivationListener>
-
createListener
public jakarta.servlet.http.HttpSessionActivationListener createListener(Consumer<jakarta.servlet.http.HttpSession> prePassivate, Consumer<jakarta.servlet.http.HttpSession> postActivate) - Specified by:
createListenerin interfaceHttpSessionActivationListenerProvider<jakarta.servlet.http.HttpSession,jakarta.servlet.ServletContext, jakarta.servlet.http.HttpSessionActivationListener>
-