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(Map<String,Object> props)
Get the default
ResourceConfig. |
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.ServletContext |
getServletContext()
Get the
ServletContext. |
WebConfig.ConfigType getConfigType()
String getName()
String getInitParameter(String name)
name - the parameter name.Enumeration getInitParameterNames()
javax.servlet.ServletContext getServletContext()
ServletContext.ServletContext.ResourceConfig getDefaultResourceConfig(Map<String,Object> props) throws javax.servlet.ServletException
ResourceConfig.props - the map of properties.ResourceConfig.javax.servlet.ServletExceptionCopyright © 2016 Oracle Corporation. All rights reserved.