Class AppVersionHandlerFactory


  • public class AppVersionHandlerFactory
    extends Object
    AppVersionHandlerFactory implements a Handler for a given AppVersionKey.
    • Field Detail

      • WEB_DEFAULTS_XML

        public static final String WEB_DEFAULTS_XML
        Any settings in this webdefault.xml file will be inherited by all applications. We don't want to use Jetty's built-in webdefault.xml because we want to disable some of their functionality, and because we want to be explicit about what functionality we are supporting.
        See Also:
        Constant Field Values
    • Constructor Detail

      • AppVersionHandlerFactory

        public AppVersionHandlerFactory​(org.eclipse.jetty.server.Server server,
                                        String serverInfo,
                                        WebAppContextFactory contextFactory,
                                        boolean useJettyErrorPageHandler)
    • Method Detail

      • createHandler

        public org.eclipse.jetty.server.Handler createHandler​(AppVersion appVersion)
                                                       throws javax.servlet.ServletException
        Returns the Handler that will handle requests for the specified application version.
        Throws:
        javax.servlet.ServletException