|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.server.dispatch.FilterConfigImpl
com.caucho.server.dispatch.FilterMapping
public class FilterMapping
Configuration for a filter.
Nested Class Summary | |
---|---|
class |
FilterMapping.URLPattern
|
Nested classes/interfaces inherited from interface javax.servlet.FilterRegistration |
---|
FilterRegistration.Dynamic |
Constructor Summary | |
---|---|
FilterMapping()
Creates a new filter mapping object. |
Method Summary | |
---|---|
void |
addDispatcher(DispatcherType dispather)
|
void |
addDispatcher(java.lang.String dispatcher)
Adds a dispatcher. |
void |
addServletName(java.lang.String servletName)
Sets the servlet name |
FilterMapping.URLPattern |
createUrlPattern()
Sets the url pattern |
java.util.ArrayList<java.lang.String> |
getServletNames()
|
java.lang.String |
getURLPattern()
Gets the url pattern |
java.util.HashSet<java.lang.String> |
getURLPatterns()
|
boolean |
isError()
True if the dispatcher is for ERROR. |
boolean |
isForward()
True if the dispatcher is for FORWARD. |
boolean |
isInclude()
True if the dispatcher is for INCLUDE. |
boolean |
isMatch(java.lang.String servletPath,
java.lang.String pathInfo)
Returns true if the filter map matches the servlet path and path info. |
boolean |
isRequest()
True if the dispatcher is for REQUEST. |
void |
setURLRegexp(java.lang.String pattern)
Sets the url regexp |
java.lang.String |
toString()
Returns a printable representation of the filter config object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FilterMapping()
Method Detail |
---|
public FilterMapping.URLPattern createUrlPattern() throws ServletException
ServletException
public java.lang.String getURLPattern()
public java.util.HashSet<java.lang.String> getURLPatterns()
public void setURLRegexp(java.lang.String pattern) throws ServletException
ServletException
public void addServletName(java.lang.String servletName)
public java.util.ArrayList<java.lang.String> getServletNames()
public void addDispatcher(java.lang.String dispatcher) throws ConfigException
ConfigException
public void addDispatcher(DispatcherType dispather)
public boolean isRequest()
public boolean isInclude()
public boolean isForward()
public boolean isError()
public boolean isMatch(java.lang.String servletPath, java.lang.String pathInfo)
public java.lang.String toString()
toString
in class FilterConfigImpl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |