public class FilterConfigImpl
extends java.lang.Object
implements javax.servlet.FilterConfig
FilterConfig implementation.| Constructor and Description |
|---|
FilterConfigImpl(WebappContext servletContext) |
| Modifier and Type | Method and Description |
|---|---|
javax.servlet.Filter |
getFilter()
Return the application Filter we are configured for.
|
java.lang.String |
getFilterName() |
java.lang.String |
getInitParameter(java.lang.String name) |
java.util.Enumeration<java.lang.String> |
getInitParameterNames() |
javax.servlet.ServletContext |
getServletContext() |
protected void |
recycle()
Release the Filter instance associated with this FilterConfig,
if there is one.
|
protected void |
setFilter(javax.servlet.Filter filter)
Set the
Filter associated with this object. |
protected void |
setFilterName(java.lang.String filterName)
Set the
Filter's name associated with this object. |
protected void |
setInitParameters(java.util.Map<java.lang.String,java.lang.String> initParameters)
Set the init parameters associated with this associated
Filter. |
public FilterConfigImpl(WebappContext servletContext)
public java.lang.String getInitParameter(java.lang.String name)
getInitParameter in interface javax.servlet.FilterConfigpublic java.lang.String getFilterName()
getFilterName in interface javax.servlet.FilterConfigpublic java.util.Enumeration<java.lang.String> getInitParameterNames()
getInitParameterNames in interface javax.servlet.FilterConfigpublic javax.servlet.ServletContext getServletContext()
getServletContext in interface javax.servlet.FilterConfigpublic javax.servlet.Filter getFilter()
protected void recycle()
protected void setFilter(javax.servlet.Filter filter)
Filter associated with this object.filter - protected void setFilterName(java.lang.String filterName)
Filter's name associated with this object.filterName - the name of this Filter.protected void setInitParameters(java.util.Map<java.lang.String,java.lang.String> initParameters)
Filter.initParameters - the configuration parameters for this FilterCopyright © 2014 Oracle Corporation. All Rights Reserved.