Package org.atmosphere.util
Class FilterConfigImpl
- java.lang.Object
-
- org.atmosphere.util.FilterConfigImpl
-
- All Implemented Interfaces:
javax.servlet.FilterConfig
public final class FilterConfigImpl extends java.lang.Object implements javax.servlet.FilterConfigFilterConfigimplementation.- Author:
- Jeanfrancois Arcand
-
-
Constructor Summary
Constructors Constructor Description FilterConfigImpl(javax.servlet.ServletConfig sc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.servlet.FiltergetFilter()Return the application Filter we are configured for.java.lang.StringgetFilterName()java.lang.StringgetInitParameter(java.lang.String name)java.util.EnumerationgetInitParameterNames()javax.servlet.ServletContextgetServletContext()voidrecycle()Release the Filter instance associated with this FilterConfig, if there is one.voidsetFilter(javax.servlet.Filter filter)Set theFilterassociated with this object.voidsetFilterName(java.lang.String filterName)Set theFilter's name associated with this object.
-
-
-
Method Detail
-
getInitParameter
public java.lang.String getInitParameter(java.lang.String name)
- Specified by:
getInitParameterin interfacejavax.servlet.FilterConfig
-
getFilterName
public java.lang.String getFilterName()
- Specified by:
getFilterNamein interfacejavax.servlet.FilterConfig
-
getInitParameterNames
public java.util.Enumeration 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
public void setFilterName(java.lang.String filterName)
Set theFilter's name associated with this object.- Parameters:
filterName-
-
-