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