public static class ServletDeployer.StubServletConfig extends Object implements javax.servlet.ServletConfig
Constructor and Description |
---|
StubServletConfig(javax.servlet.ServletContext context,
javax.servlet.ServletRegistration registration)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static DeploymentConfiguration |
createDeploymentConfiguration(javax.servlet.ServletContext context,
Class<?> servletClass)
Creates a DeploymentConfiguration.
|
static DeploymentConfiguration |
createDeploymentConfiguration(javax.servlet.ServletContext context,
javax.servlet.ServletRegistration registration,
Class<?> servletClass)
Creates a DeploymentConfiguration.
|
String |
getInitParameter(String name) |
Enumeration<String> |
getInitParameterNames() |
javax.servlet.ServletContext |
getServletContext() |
String |
getServletName() |
public StubServletConfig(javax.servlet.ServletContext context, javax.servlet.ServletRegistration registration)
context
- the ServletContextregistration
- the ServletRegistration for this ServletConfig instancepublic String getServletName()
getServletName
in interface javax.servlet.ServletConfig
public javax.servlet.ServletContext getServletContext()
getServletContext
in interface javax.servlet.ServletConfig
public String getInitParameter(String name)
getInitParameter
in interface javax.servlet.ServletConfig
public Enumeration<String> getInitParameterNames()
getInitParameterNames
in interface javax.servlet.ServletConfig
public static DeploymentConfiguration createDeploymentConfiguration(javax.servlet.ServletContext context, javax.servlet.ServletRegistration registration, Class<?> servletClass)
context
- the ServletContextregistration
- the ServletRegistrationservletClass
- the class to look for properties defined with annotationspublic static DeploymentConfiguration createDeploymentConfiguration(javax.servlet.ServletContext context, Class<?> servletClass)
context
- the ServletContextservletClass
- the class to look for properties defined with annotationsCopyright © 2000–2024 Vaadin Ltd. All rights reserved.