WebConfig.ConfigType
Constructor and Description |
---|
WebServletConfig(ServletContainer servlet) |
Modifier and Type | Method and Description |
---|---|
WebConfig.ConfigType |
getConfigType()
Get the configuration type of this config.
|
jakarta.servlet.FilterConfig |
getFilterConfig()
Get the corresponding FilterConfig if this WebConfig represents a
FilterConfig |
String |
getInitParameter(String name)
Get an initialization parameter.
|
Enumeration |
getInitParameterNames()
Get the enumeration of initialization parameter names.
|
String |
getName()
Get the name of the Web component.
|
jakarta.servlet.ServletConfig |
getServletConfig()
Get the corresponding ServletConfig if this WebConfig represents a
ServletConfig |
jakarta.servlet.ServletContext |
getServletContext()
Get the
ServletContext . |
public WebServletConfig(ServletContainer servlet)
public WebConfig.ConfigType getConfigType()
WebConfig
getConfigType
in interface WebConfig
public jakarta.servlet.ServletConfig getServletConfig()
WebConfig
ServletConfig
getServletConfig
in interface WebConfig
public jakarta.servlet.FilterConfig getFilterConfig()
WebConfig
FilterConfig
getFilterConfig
in interface WebConfig
public String getName()
WebConfig
public String getInitParameter(String name)
WebConfig
getInitParameter
in interface WebConfig
name
- the parameter name.public Enumeration getInitParameterNames()
WebConfig
getInitParameterNames
in interface WebConfig
public jakarta.servlet.ServletContext getServletContext()
WebConfig
ServletContext
.getServletContext
in interface WebConfig
ServletContext
.Copyright © 2007-2021, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.