Package org.atmosphere.util
Class FilterConfigImpl
java.lang.Object
org.atmosphere.util.FilterConfigImpl
- All Implemented Interfaces:
jakarta.servlet.FilterConfig
FilterConfig implementation.- Author:
- Jeanfrancois Arcand
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjakarta.servlet.FilterReturn the application Filter we are configured for.getInitParameter(String name) jakarta.servlet.ServletContextvoidrecycle()Release the Filter instance associated with this FilterConfig, if there is one.voidsetFilter(jakarta.servlet.Filter filter) Set theFilterassociated with this object.voidsetFilterName(String filterName) Set theFilter's name associated with this object.
-
Constructor Details
-
FilterConfigImpl
public FilterConfigImpl(jakarta.servlet.ServletConfig sc)
-
-
Method Details
-
getInitParameter
- Specified by:
getInitParameterin interfacejakarta.servlet.FilterConfig
-
getFilterName
- Specified by:
getFilterNamein interfacejakarta.servlet.FilterConfig
-
getInitParameterNames
- Specified by:
getInitParameterNamesin interfacejakarta.servlet.FilterConfig
-
getServletContext
public jakarta.servlet.ServletContext getServletContext()- Specified by:
getServletContextin interfacejakarta.servlet.FilterConfig
-
getFilter
public jakarta.servlet.Filter getFilter()Return the application Filter we are configured for. -
recycle
public void recycle()Release the Filter instance associated with this FilterConfig, if there is one. -
setFilter
public void setFilter(jakarta.servlet.Filter filter) Set theFilterassociated with this object.- Parameters:
filter-
-
setFilterName
Set theFilter's name associated with this object.- Parameters:
filterName-
-