WebConfig.ConfigType| Constructor and Description |
|---|
WebServletConfig(ServletContainer servlet) |
| 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. |
public WebServletConfig(ServletContainer servlet)
public WebConfig.ConfigType getConfigType()
WebConfiggetConfigType 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.public ResourceConfig getDefaultResourceConfig(Map<String,Object> props) throws javax.servlet.ServletException
WebConfigResourceConfig.getDefaultResourceConfig in interface WebConfigprops - the map of properties.ResourceConfig.javax.servlet.ServletExceptionCopyright © 2016 Oracle Corporation. All rights reserved.