Enum UndertowSpecificationProvider

    • Method Detail

      • values

        public static UndertowSpecificationProvider[] 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 (UndertowSpecificationProvider c : UndertowSpecificationProvider.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static UndertowSpecificationProvider 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 name
        NullPointerException - if the argument is null
      • createHttpSession

        public jakarta.servlet.http.HttpSession createHttpSession​(ImmutableSession session,
                                                                  jakarta.servlet.ServletContext context)
        Specified by:
        createHttpSession in interface HttpSessionFactory<jakarta.servlet.http.HttpSession,​jakarta.servlet.ServletContext>
      • prePassivateNotifier

        public Consumer<jakarta.servlet.http.HttpSession> prePassivateNotifier​(jakarta.servlet.http.HttpSessionActivationListener listener)
        Specified by:
        prePassivateNotifier in interface HttpSessionActivationListenerProvider<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:
        postActivateNotifier in interface HttpSessionActivationListenerProvider<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:
        createListener in interface HttpSessionActivationListenerProvider<jakarta.servlet.http.HttpSession,​jakarta.servlet.ServletContext,​jakarta.servlet.http.HttpSessionActivationListener>