Class ExtHandshakeVHostExtensionFactory

    • Constructor Detail

      • ExtHandshakeVHostExtensionFactory

        public ExtHandshakeVHostExtensionFactory()
    • Method Detail

      • createExtensionProcessor

        public ExtensionProcessor createExtensionProcessor​(IServletContext webapp)
                                                    throws java.lang.Exception
        Specified by:
        createExtensionProcessor in interface ExtensionFactory
        Parameters:
        webapp - - The WebApp that the created ExtensionProcessor should be associated with
        Returns:
        An instance of WebExtensionProcessor which will be associated with the URL patterns that this factory is associated with, and has the capability of handling requests.
        Throws:
        java.lang.Exception - The creation process can throw any kind of exception, and it will be caught and logged by the webcontainer This method will be called by the container during initialization. A WebExtensionFactory typically furnishes a single type of WebExtensionProcessor, a singleton in most cases.
      • getPatternList

        public java.util.List getPatternList()
        Specified by:
        getPatternList in interface ExtensionFactory
        Returns:
        The list of all the URI patterns that the WebExtensionProcessors created by this factory will handle. This method will be called by the webcontainer while setting up its internal URL routing datastructures. Patters supplied in this list should be in accord with the allowable patterns specified in the Java Servlet Specification (under URL patterns).