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