java.io.Serializable, javax.servlet.FilterConfigpublic final class ApplicationFilterConfig
extends java.lang.Object
implements javax.servlet.FilterConfig, java.io.Serializable
javax.servlet.FilterConfig useful in
managing the filter instances instantiated when a web application
is first started.| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getFilterClass() |
|
java.util.Map<java.lang.String,java.lang.String> |
getFilterInitParameterMap() |
|
java.lang.String |
getFilterName() |
Return the name of the filter we are configuring.
|
java.lang.String |
getInitParameter(java.lang.String name) |
Return a
String containing the value of the named
initialization parameter, or null if the parameter
does not exist. |
java.util.Enumeration<java.lang.String> |
getInitParameterNames() |
Return an
Enumeration of the names of the initialization
parameters for this Filter. |
javax.servlet.ServletContext |
getServletContext() |
Return the ServletContext of our associated web application.
|
java.lang.String |
toString() |
Return a String representation of this object.
|
public java.lang.String getFilterName()
getFilterName in interface javax.servlet.FilterConfigpublic java.lang.String getFilterClass()
public java.lang.String getInitParameter(java.lang.String name)
String containing the value of the named
initialization parameter, or null if the parameter
does not exist.getInitParameter in interface javax.servlet.FilterConfigname - Name of the requested initialization parameterString containing the value of the initialization
parameterpublic java.util.Enumeration<java.lang.String> getInitParameterNames()
Enumeration of the names of the initialization
parameters for this Filter.getInitParameterNames in interface javax.servlet.FilterConfigEnumeration of String objects
containing the names of the filter's initialization parameterspublic javax.servlet.ServletContext getServletContext()
getServletContext in interface javax.servlet.FilterConfigServletContext object, used by the caller to interact
with its servlet containerServletContextpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.util.Map<java.lang.String,java.lang.String> getFilterInitParameterMap()
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.