public interface WebConfig
ServletContext
.Modifier and Type | Interface and Description |
---|---|
static class |
WebConfig.ConfigType
The web configuration type.
|
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 . |
WebConfig.ConfigType getConfigType()
jakarta.servlet.ServletConfig getServletConfig()
ServletConfig
jakarta.servlet.FilterConfig getFilterConfig()
FilterConfig
String getName()
String getInitParameter(String name)
name
- the parameter name.Enumeration getInitParameterNames()
jakarta.servlet.ServletContext getServletContext()
ServletContext
.ServletContext
.Copyright © 2007-2023, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.