org.atmosphere.util
Class FilterConfigImpl

java.lang.Object
  extended by org.atmosphere.util.FilterConfigImpl
All Implemented Interfaces:
javax.servlet.FilterConfig

public final class FilterConfigImpl
extends Object
implements javax.servlet.FilterConfig

FilterConfig implementation.

Author:
Jeanfrancois Arcand

Constructor Summary
FilterConfigImpl(javax.servlet.ServletConfig sc)
           
 
Method Summary
 javax.servlet.Filter getFilter()
          Return the application Filter we are configured for.
 String getFilterName()
           
 String getInitParameter(String name)
           
 Enumeration getInitParameterNames()
           
 javax.servlet.ServletContext getServletContext()
           
 void recycle()
          Release the Filter instance associated with this FilterConfig, if there is one.
 void setFilter(javax.servlet.Filter filter)
          Set the Filter associated with this object.
 void setFilterName(String filterName)
          Set the Filter's name associated with this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilterConfigImpl

public FilterConfigImpl(javax.servlet.ServletConfig sc)
Method Detail

getInitParameter

public String getInitParameter(String name)
Specified by:
getInitParameter in interface javax.servlet.FilterConfig

getFilterName

public String getFilterName()
Specified by:
getFilterName in interface javax.servlet.FilterConfig

getInitParameterNames

public Enumeration getInitParameterNames()
Specified by:
getInitParameterNames in interface javax.servlet.FilterConfig

getServletContext

public javax.servlet.ServletContext getServletContext()
Specified by:
getServletContext in interface javax.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 the Filter associated with this object.

Parameters:
filter -

setFilterName

public void setFilterName(String filterName)
Set the Filter's name associated with this object.

Parameters:
filterName -


Copyright © 2013. All Rights Reserved.