com.vaadin.flow.server.startup.

Class ServletDeployer.StubServletConfig

  • java.lang.Object
    • com.vaadin.flow.server.startup.ServletDeployer.StubServletConfig
  • Enclosing class:

    ServletDeployer


    public static class ServletDeployer.StubServletConfig
    extends Object

    Default ServletConfig implementation.

    • Constructor Detail

      • StubServletConfig

        public StubServletConfig(ServletContext context,
                                 ServletRegistration registration)

        Constructor.

        Parameters:

        context - the ServletContext

        registration - the ServletRegistration for this ServletConfig instance

    • Method Detail

      • getServletName

        public String getServletName()
      • getServletContext

        public ServletContext getServletContext()
      • getInitParameter

        public String getInitParameter(String name)
      • createDeploymentConfiguration

        public static DeploymentConfiguration createDeploymentConfiguration(ServletContext context,
                                                                            ServletRegistration registration,
                                                                            Class<?> servletClass)

        Creates a DeploymentConfiguration.

        Parameters:

        context - the ServletContext

        registration - the ServletRegistration

        servletClass - the class to look for properties defined with annotations

        Returns:

        a DeploymentConfiguration instance

      • createDeploymentConfiguration

        public static DeploymentConfiguration createDeploymentConfiguration(ServletContext context,
                                                                            Class<?> servletClass)

        Creates a DeploymentConfiguration.

        Parameters:

        context - the ServletContext

        servletClass - the class to look for properties defined with annotations

        Returns:

        a DeploymentConfiguration instance