WebConfig.ConfigType
Constructor and Description |
---|
WebFilterConfig(javax.servlet.FilterConfig filterConfig) |
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 WebConfig.ConfigType getConfigType()
WebConfig
getConfigType
in interface WebConfig
public java.lang.String getName()
WebConfig
public java.lang.String getInitParameter(java.lang.String name)
WebConfig
getInitParameter
in interface WebConfig
name
- the parameter name.public java.util.Enumeration getInitParameterNames()
WebConfig
getInitParameterNames
in interface WebConfig
public javax.servlet.ServletContext getServletContext()
WebConfig
ServletContext
.getServletContext
in interface WebConfig
ServletContext
.public ResourceConfig getDefaultResourceConfig(java.util.Map<java.lang.String,java.lang.Object> props) throws javax.servlet.ServletException
WebConfig
ResourceConfig
.getDefaultResourceConfig
in interface WebConfig
props
- the map of properties.ResourceConfig
.javax.servlet.ServletException
Copyright © 2016 Oracle Corporation. All Rights Reserved.