public class FilterConfiguration extends Object implements FilterConfig
| Modifier | Constructor and Description |
|---|---|
protected |
FilterConfiguration(ServletContext context,
ClassLoader loader) |
|
FilterConfiguration(ServletContext context,
ClassLoader loader,
Node elm)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Called when it's time for the container to shut this servlet down.
|
void |
execute(ServletRequest request,
ServletResponse response,
FilterChain chain) |
Filter |
getFilter()
Implements the first-time-init of an instance, and wraps it in a
dispatcher.
|
String |
getFilterName() |
String |
getInitParameter(String paramName) |
Enumeration |
getInitParameterNames() |
ServletContext |
getServletContext() |
boolean |
isUnavailable() |
protected void |
setUnavailable() |
String |
toString() |
protected FilterConfiguration(ServletContext context, ClassLoader loader)
public FilterConfiguration(ServletContext context, ClassLoader loader, Node elm)
public String getFilterName()
getFilterName in interface FilterConfigpublic String getInitParameter(String paramName)
getInitParameter in interface FilterConfigpublic Enumeration getInitParameterNames()
getInitParameterNames in interface FilterConfigpublic ServletContext getServletContext()
getServletContext in interface FilterConfigpublic Filter getFilter() throws ServletException
ServletExceptionpublic void destroy()
public boolean isUnavailable()
protected void setUnavailable()
public void execute(ServletRequest request, ServletResponse response, FilterChain chain) throws ServletException, IOException
ServletExceptionIOExceptionCopyright © 2014. All rights reserved.