WebConfig.ConfigType| Constructor and Description |
|---|
WebFilterConfig(javax.servlet.FilterConfig filterConfig) |
| Modifier and Type | Method and Description |
|---|---|
WebConfig.ConfigType |
getConfigType()
Get the configuration type of this config.
|
javax.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.
|
javax.servlet.ServletConfig |
getServletConfig()
Get the corresponding ServletConfig if this WebConfig represents a
ServletConfig |
javax.servlet.ServletContext |
getServletContext()
Get the
ServletContext. |
public WebConfig.ConfigType getConfigType()
WebConfiggetConfigType in interface WebConfigpublic javax.servlet.ServletConfig getServletConfig()
WebConfigServletConfiggetServletConfig in interface WebConfigpublic javax.servlet.FilterConfig getFilterConfig()
WebConfigFilterConfiggetFilterConfig in interface WebConfigpublic String getName()
WebConfigpublic String getInitParameter(String name)
WebConfiggetInitParameter in interface WebConfigname - the parameter name.public Enumeration getInitParameterNames()
WebConfiggetInitParameterNames in interface WebConfigpublic javax.servlet.ServletContext getServletContext()
WebConfigServletContext.getServletContext in interface WebConfigServletContext.Copyright © 2007-2021, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.