Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.myfaces.orchestra.lib
Class _UrlMatcher

    java.lang.Object
      org.apache.myfaces.orchestra.lib._UrlMatcher

    public class _UrlMatcher

extends Object

Provides the ability to test the url of a servlet-request against a set of criteria to determine whether to "accept" the url or not.

This can be used for a number of purposes. One example is that servlet filters can use this to extend the very primitive "filter-mapping" facilities of the web.xml configuration file, giving the ability for the filter to be matched more precisely to the incoming url.

Initially the matching facilities are fairly primitive; just a single "excludePrefix" and "excludeSuffix" string can be defined. However this class can be extended later and classes which use this to filter their urls will transparently get the new features.

Constructor Summary
`_UrlMatcher(javax.servlet.FilterConfig config)`

Method Summary
`boolean` | `accept(javax.servlet.ServletRequest req)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### _UrlMatcher

    public _UrlMatcher(javax.servlet.FilterConfig config)

Method Detail

### accept

    public boolean accept(javax.servlet.ServletRequest req)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2012 The Apache Software Foundation. All Rights Reserved.