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(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. |
public WebServletConfig(ServletContainer servlet)
public WebConfig.ConfigType getConfigType()
WebConfiggetConfigType in interface WebConfigpublic java.lang.String getName()
WebConfigpublic java.lang.String getInitParameter(java.lang.String name)
WebConfiggetInitParameter in interface WebConfigname - the parameter name.public java.util.Enumeration getInitParameterNames()
WebConfiggetInitParameterNames in interface WebConfigpublic javax.servlet.ServletContext getServletContext()
WebConfigServletContext.getServletContext in interface WebConfigServletContext.public ResourceConfig getDefaultResourceConfig(java.util.Map<java.lang.String,java.lang.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.