|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.jersey.server.impl.uri.rules.CombiningMatchingPatterns<R>
public class CombiningMatchingPatterns<R>
Rules combining one or more other rules and matching in sequence.
Constructor Summary | |
---|---|
CombiningMatchingPatterns(java.util.List<UriRules<R>> rs)
|
Method Summary | |
---|---|
java.util.Iterator<R> |
match(java.lang.CharSequence path,
UriMatchResultContext resultContext)
Match a URI path to the collection of rules and iterate over the matching rules. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CombiningMatchingPatterns(java.util.List<UriRules<R>> rs)
Method Detail |
---|
public java.util.Iterator<R> match(java.lang.CharSequence path, UriMatchResultContext resultContext)
UriRules
match
in interface UriRules<R>
path
- the URI path to be matchedresultContext
- the context to store the match result.
The result will be set each time Iterator.next()
is called
according to the pattern associated with the returned rule.
The matching groups in the result are stored in the same order as
the pattern's capturing groups.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |