Class WebFilterConfig
java.lang.Object
org.glassfish.jersey.servlet.WebFilterConfig
- All Implemented Interfaces:
WebConfig
-
Nested Class Summary
Nested classes/interfaces inherited from interface WebConfig
WebConfig.ConfigType -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the configuration type of this config.javax.servlet.FilterConfigGet the corresponding FilterConfig if this WebConfig represents aFilterConfiggetInitParameter(String name) Get an initialization parameter.Get the enumeration of initialization parameter names.getName()Get the name of the Web component.javax.servlet.ServletConfigGet the corresponding ServletConfig if this WebConfig represents aServletConfigjavax.servlet.ServletContextGet theServletContext.
-
Field Details
-
filterConfig
private final javax.servlet.FilterConfig filterConfig
-
-
Constructor Details
-
WebFilterConfig
public WebFilterConfig(javax.servlet.FilterConfig filterConfig)
-
-
Method Details
-
getConfigType
Description copied from interface:WebConfigGet the configuration type of this config.- Specified by:
getConfigTypein interfaceWebConfig- Returns:
- the configuration type.
-
getServletConfig
public javax.servlet.ServletConfig getServletConfig()Description copied from interface:WebConfigGet the corresponding ServletConfig if this WebConfig represents aServletConfig- Specified by:
getServletConfigin interfaceWebConfig- Returns:
- servlet config or null
-
getFilterConfig
public javax.servlet.FilterConfig getFilterConfig()Description copied from interface:WebConfigGet the corresponding FilterConfig if this WebConfig represents aFilterConfig- Specified by:
getFilterConfigin interfaceWebConfig- Returns:
- filter config or null
-
getName
-
getInitParameter
Description copied from interface:WebConfigGet an initialization parameter.- Specified by:
getInitParameterin interfaceWebConfig- Parameters:
name- the parameter name.- Returns:
- the parameter value, or null if the parameter is not present.
-
getInitParameterNames
Description copied from interface:WebConfigGet the enumeration of initialization parameter names.- Specified by:
getInitParameterNamesin interfaceWebConfig- Returns:
- the enumeration of initialization parameter names.
-
getServletContext
public javax.servlet.ServletContext getServletContext()Description copied from interface:WebConfigGet theServletContext.- Specified by:
getServletContextin interfaceWebConfig- Returns:
- the
ServletContext.
-