Package org.glassfish.jersey.servlet
Class WebFilterConfig
- java.lang.Object
-
- org.glassfish.jersey.servlet.WebFilterConfig
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.glassfish.jersey.servlet.WebConfig
WebConfig.ConfigType
-
-
Field Summary
Fields Modifier and Type Field Description private javax.servlet.FilterConfig
filterConfig
-
Constructor Summary
Constructors Constructor Description WebFilterConfig(javax.servlet.FilterConfig filterConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WebConfig.ConfigType
getConfigType()
Get the configuration type of this config.javax.servlet.FilterConfig
getFilterConfig()
Get the corresponding FilterConfig if this WebConfig represents aFilterConfig
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.ServletConfig
getServletConfig()
Get the corresponding ServletConfig if this WebConfig represents aServletConfig
javax.servlet.ServletContext
getServletContext()
Get theServletContext
.
-
-
-
Method Detail
-
getConfigType
public WebConfig.ConfigType getConfigType()
Description copied from interface:WebConfig
Get the configuration type of this config.- Specified by:
getConfigType
in interfaceWebConfig
- Returns:
- the configuration type.
-
getServletConfig
public javax.servlet.ServletConfig getServletConfig()
Description copied from interface:WebConfig
Get the corresponding ServletConfig if this WebConfig represents aServletConfig
- Specified by:
getServletConfig
in interfaceWebConfig
- Returns:
- servlet config or null
-
getFilterConfig
public javax.servlet.FilterConfig getFilterConfig()
Description copied from interface:WebConfig
Get the corresponding FilterConfig if this WebConfig represents aFilterConfig
- Specified by:
getFilterConfig
in interfaceWebConfig
- Returns:
- filter config or null
-
getName
public java.lang.String getName()
Description copied from interface:WebConfig
Get the name of the Web component.
-
getInitParameter
public java.lang.String getInitParameter(java.lang.String name)
Description copied from interface:WebConfig
Get an initialization parameter.- Specified by:
getInitParameter
in interfaceWebConfig
- Parameters:
name
- the parameter name.- Returns:
- the parameter value, or null if the parameter is not present.
-
getInitParameterNames
public java.util.Enumeration getInitParameterNames()
Description copied from interface:WebConfig
Get the enumeration of initialization parameter names.- Specified by:
getInitParameterNames
in interfaceWebConfig
- Returns:
- the enumeration of initialization parameter names.
-
getServletContext
public javax.servlet.ServletContext getServletContext()
Description copied from interface:WebConfig
Get theServletContext
.- Specified by:
getServletContext
in interfaceWebConfig
- Returns:
- the
ServletContext
.
-
-