|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--org.chwf.servlet.filter.FilterInfo
Class containing info for filter and a reference to the filter object itself. It also serves as the implementation class for FilterConfig.
| Constructor Summary | |
FilterInfo(java.lang.String name,
AllFilterConfig allFilterConfig)
Constructor. |
|
| Method Summary | |
javax.servlet.Filter |
getFilter()
The filter object. |
java.lang.String |
getFilterName()
Returns the filter-name of this filter as defined in the deployment descriptor. |
java.lang.String |
getInitParameter(java.lang.String name)
Returns a String containing the value of the named initialization parameter, or null if the parameter does not exist. |
java.util.Enumeration |
getInitParameterNames()
Returns the names of the servlet's initialization parameters as an Enumeration of String objects, or an empty Enumeration if the servlet has no initialization parameters. |
javax.servlet.ServletContext |
getServletContext()
Returns a reference to the ServletContext in which the caller is executing. |
boolean |
isMatch(java.lang.String contextFreeURI)
True if the given URI matches (one of) the filter patterns. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FilterInfo(java.lang.String name,
AllFilterConfig allFilterConfig)
throws javax.servlet.ServletException
name - The filter name.allFilterConfig - Containing configuration for all filters.javax.servlet.ServletException - If the filter cannot be initialized| Method Detail |
public javax.servlet.Filter getFilter()
public java.lang.String getFilterName()
getFilterName in interface javax.servlet.FilterConfigpublic java.lang.String getInitParameter(java.lang.String name)
getInitParameter in interface javax.servlet.FilterConfigname - A String specifying the name of the initialization parameter.public javax.servlet.ServletContext getServletContext()
getServletContext in interface javax.servlet.FilterConfigpublic java.util.Enumeration getInitParameterNames()
getInitParameterNames in interface javax.servlet.FilterConfigpublic boolean isMatch(java.lang.String contextFreeURI)
contextFreeURI - The (context-free) URI.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||