public boolean appliesTo(DispatcherType t) { return appliesTo(dispatch(t)); }
/** Check if this filter applies to a path. * @param path The path to check or null to just check type * @param type The type of request: __REQUEST,__FORWARD,__INCLUDE, __ASYNC or __ERROR. * @return True if this filter applies */ boolean appliesTo(String path, int type) { if (appliesTo(type)) { for (int i=0;i<_pathSpecs.length;i++) if (_pathSpecs[i]!=null && PathMap.match(_pathSpecs[i], path,true)) return true; } return false; }
/** Check if this filter applies to a path. * @param path The path to check or null to just check type * @param type The type of request: __REQUEST,__FORWARD,__INCLUDE, __ASYNC or __ERROR. * @return True if this filter applies */ boolean appliesTo(String path, int type) { if (appliesTo(type)) { for (int i=0;i<_pathSpecs.length;i++) if (_pathSpecs[i]!=null && PathMap.match(_pathSpecs[i], path,true)) return true; } return false; }
public boolean appliesTo(DispatcherType t) { return appliesTo(dispatch(t)); }
public boolean appliesTo(DispatcherType t) { return appliesTo(dispatch(t)); }
/** Check if this filter applies to a path. * @param path The path to check or null to just check type * @param type The type of request: __REQUEST,__FORWARD,__INCLUDE, __ASYNC or __ERROR. * @return True if this filter applies */ boolean appliesTo(String path, int type) { if (appliesTo(type)) { for (int i=0;i<_pathSpecs.length;i++) if (_pathSpecs[i]!=null && PathMap.match(_pathSpecs[i], path,true)) return true; } return false; }
/** Check if this filter applies to a path. * @param path The path to check or null to just check type * @param type The type of request: __REQUEST,__FORWARD,__INCLUDE, __ASYNC or __ERROR. * @return True if this filter applies */ boolean appliesTo(String path, int type) { if (appliesTo(type)) { for (int i=0;i<_pathSpecs.length;i++) if (_pathSpecs[i]!=null && PathMap.match(_pathSpecs[i], path,true)) return true; } return false; }
/** Check if this filter applies to a path. * @param path The path to check or null to just check type * @param type The type of request: __REQUEST,__FORWARD,__INCLUDE, __ASYNC or __ERROR. * @return True if this filter applies */ boolean appliesTo(String path, int type) { if (appliesTo(type)) { for (int i=0;i<_pathSpecs.length;i++) if (_pathSpecs[i]!=null && PathMap.match(_pathSpecs[i], path,true)) return true; } return false; }
/** Check if this filter applies to a path. * @param path The path to check or null to just check type * @param type The type of request: __REQUEST,__FORWARD,__INCLUDE, __ASYNC or __ERROR. * @return True if this filter applies */ boolean appliesTo(String path, int type) { if (appliesTo(type)) { for (int i=0;i<_pathSpecs.length;i++) if (_pathSpecs[i]!=null && PathMap.match(_pathSpecs[i], path,true)) return true; } return false; }
/** Check if this filter applies to a path. * @param path The path to check or null to just check type * @param type The type of request: __REQUEST,__FORWARD,__INCLUDE, __ASYNC or __ERROR. * @return True if this filter applies */ boolean appliesTo(String path, int type) { if (appliesTo(type)) { for (int i=0;i<_pathSpecs.length;i++) if (_pathSpecs[i]!=null && PathMap.match(_pathSpecs[i], path,true)) return true; } return false; }
/** Check if this filter applies to a path. * @param path The path to check or null to just check type * @param type The type of request: __REQUEST,__FORWARD,__INCLUDE, __ASYNC or __ERROR. * @return True if this filter applies */ boolean appliesTo(String path, int type) { if (appliesTo(type)) { for (int i=0;i<_pathSpecs.length;i++) if (_pathSpecs[i]!=null && PathMap.match(_pathSpecs[i], path,true)) return true; } return false; }
if (mapping.appliesTo(DispatcherType.REQUEST)) out.tag("dispatcher","REQUEST"); if (mapping.appliesTo(DispatcherType.ASYNC)) out.tag("dispatcher","ASYNC"); if (mapping.appliesTo(DispatcherType.ERROR)) out.tag("dispatcher","ERROR"); if (mapping.appliesTo(DispatcherType.FORWARD)) out.tag("dispatcher","FORWARD"); if (mapping.appliesTo(DispatcherType.INCLUDE)) out.tag("dispatcher","INCLUDE");