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
-
-
Constructor Summary
Constructors Constructor Description WebFilterConfig(jakarta.servlet.FilterConfig filterConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WebConfig.ConfigTypegetConfigType()Get the configuration type of this config.jakarta.servlet.FilterConfiggetFilterConfig()Get the corresponding FilterConfig if this WebConfig represents aFilterConfigStringgetInitParameter(String name)Get an initialization parameter.EnumerationgetInitParameterNames()Get the enumeration of initialization parameter names.StringgetName()Get the name of the Web component.jakarta.servlet.ServletConfiggetServletConfig()Get the corresponding ServletConfig if this WebConfig represents aServletConfigjakarta.servlet.ServletContextgetServletContext()Get theServletContext.
-
-
-
Method Detail
-
getConfigType
public WebConfig.ConfigType getConfigType()
Description copied from interface:WebConfigGet the configuration type of this config.- Specified by:
getConfigTypein interfaceWebConfig- Returns:
- the configuration type.
-
getServletConfig
public jakarta.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 jakarta.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
public String getName()
Description copied from interface:WebConfigGet the name of the Web component.
-
getInitParameter
public String getInitParameter(String name)
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
public Enumeration 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 jakarta.servlet.ServletContext getServletContext()
Description copied from interface:WebConfigGet theServletContext.- Specified by:
getServletContextin interfaceWebConfig- Returns:
- the
ServletContext.
-
-