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.
|
ResourceConfig |
getDefaultResourceConfig(java.util.Map<java.lang.String,java.lang.Object> props)
Get the default
ResourceConfig. |
java.lang.String |
getInitParameter(java.lang.String name)
Get an initialization parameter.
|
java.util.Enumeration |
getInitParameterNames()
Get the enumeration of initialization parameter names.
|
java.lang.String |
getName()
Get the name of the Web component.
|
javax.servlet.ServletContext |
getServletContext()
Get the
ServletContext. |
WebConfig.ConfigType getConfigType()
java.lang.String getName()
java.lang.String getInitParameter(java.lang.String name)
name - the parameter name.java.util.Enumeration getInitParameterNames()
javax.servlet.ServletContext getServletContext()
ServletContext.ServletContext.ResourceConfig getDefaultResourceConfig(java.util.Map<java.lang.String,java.lang.Object> props) throws javax.servlet.ServletException
ResourceConfig.props - the map of properties.ResourceConfig.javax.servlet.ServletExceptionCopyright © 2016 Oracle Corporation. All Rights Reserved.