We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.server.startup.
Class ServletDeployer.StubServletConfig
- java.lang.Object
-
- com.vaadin.flow.server.startup.ServletDeployer.StubServletConfig
-
Enclosing class:
public static class ServletDeployer.StubServletConfig extends Object
Default ServletConfig implementation.
-
-
Constructor Summary
Constructors Constructor and Description StubServletConfig(ServletContext context, ServletRegistration registration)
Constructor.
-
Method Summary
All Methods Modifier and Type Method and Description static DeploymentConfiguration
createDeploymentConfiguration(ServletContext context, Class<?> servletClass)
Creates a DeploymentConfiguration.
static DeploymentConfiguration
createDeploymentConfiguration(ServletContext context, ServletRegistration registration, Class<?> servletClass)
Creates a DeploymentConfiguration.
String
getInitParameter(String name)
Enumeration<String>
getInitParameterNames()
ServletContext
getServletContext()
String
getServletName()
-
-
-
Constructor Detail
-
StubServletConfig
public StubServletConfig(ServletContext context, ServletRegistration registration)
Constructor.
Parameters:
context
- the ServletContextregistration
- the ServletRegistration for this ServletConfig instance
-
-
Method Detail
-
getServletName
public String getServletName()
-
getServletContext
public ServletContext getServletContext()
-
getInitParameterNames
public Enumeration<String> getInitParameterNames()
-
createDeploymentConfiguration
public static DeploymentConfiguration createDeploymentConfiguration(ServletContext context, ServletRegistration registration, Class<?> servletClass)
Creates a DeploymentConfiguration.
Parameters:
context
- the ServletContextregistration
- the ServletRegistrationservletClass
- the class to look for properties defined with annotationsReturns:
a DeploymentConfiguration instance
-
createDeploymentConfiguration
public static DeploymentConfiguration createDeploymentConfiguration(ServletContext context, Class<?> servletClass)
Creates a DeploymentConfiguration.
Parameters:
context
- the ServletContextservletClass
- the class to look for properties defined with annotationsReturns:
a DeploymentConfiguration instance
-
-