Package org.glassfish.grizzly.servlet
Class FilterConfigImpl
java.lang.Object
org.glassfish.grizzly.servlet.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.ServletContextprotected voidrecycle()Release the Filter instance associated with this FilterConfig, if there is one.protected voidsetFilter(javax.servlet.Filter filter) Set theFilterassociated with this object.protected voidsetFilterName(String filterName) Set theFilter's name associated with this object.protected voidsetInitParameters(Map<String, String> initParameters) Set the init parameters associated with this associatedFilter.
-
Constructor Details
-
FilterConfigImpl
-
-
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
protected void recycle()Release the Filter instance associated with this FilterConfig, if there is one. -
setFilter
protected void setFilter(javax.servlet.Filter filter) Set theFilterassociated with this object.- Parameters:
filter-
-
setFilterName
Set theFilter's name associated with this object.- Parameters:
filterName- the name of thisFilter.
-
setInitParameters
Set the init parameters associated with this associatedFilter.- Parameters:
initParameters- the configuration parameters for thisFilter
-