Class JettyDeployerJakartaEE11


  • public class JettyDeployerJakartaEE11
    extends JettyDeployerJetty
    Jetty EE11 implementation of the Cargo deployer context.
    See Also:
    WebAppContext
    • Constructor Detail

      • JettyDeployerJakartaEE11

        public JettyDeployerJakartaEE11​(org.eclipse.jetty.ee11.webapp.WebAppContext context)
        Creates an EE11 Jetty deployer.
        Parameters:
        context - current web application context
    • Method Detail

      • getServer

        protected org.eclipse.jetty.server.Server getServer()
        Returns the current Jetty server.
        Specified by:
        getServer in class JettyDeployerJetty
        Returns:
        Jetty server
      • getContextPath

        protected String getContextPath​(Object contextHandler)
        Returns the context path of a web application.
        Specified by:
        getContextPath in class JettyDeployerJetty
        Parameters:
        contextHandler - web application context
        Returns:
        context path
      • isWebAppContext

        protected boolean isWebAppContext​(org.eclipse.jetty.server.Handler handler)
        Determines whether an object is a web application context.
        Specified by:
        isWebAppContext in class JettyDeployerJetty
        Parameters:
        handler - Jetty handler
        Returns:
        true if the handler is a web application context