public class FilterConfigImpl extends 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.
|
String |
getFilterName() |
String |
getInitParameter(String name) |
Enumeration<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(String filterName)
Set the
Filter 's name associated with this object. |
protected void |
setInitParameters(Map<String,String> initParameters)
Set the init parameters associated with this associated
Filter . |
public FilterConfigImpl(WebappContext servletContext)
public String getInitParameter(String name)
getInitParameter
in interface javax.servlet.FilterConfig
public String getFilterName()
getFilterName
in interface javax.servlet.FilterConfig
public Enumeration<String> getInitParameterNames()
getInitParameterNames
in interface javax.servlet.FilterConfig
public javax.servlet.ServletContext getServletContext()
getServletContext
in interface javax.servlet.FilterConfig
public javax.servlet.Filter getFilter()
protected void recycle()
protected void setFilter(javax.servlet.Filter filter)
Filter
associated with this object.filter
- protected void setFilterName(String filterName)
Filter
's name associated with this object.filterName
- the name of this Filter
.Copyright © 2015 Oracle Corporation. All rights reserved.