|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
R
- the type of rule.public interface UriRules<R>
A collection of URI rules that can be matched against a path using associated patterns.
The precedence of the rules and the type of patterns is specified by an implementation of this interface.
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. |
Method Detail |
---|
java.util.Iterator<R> match(java.lang.CharSequence path, UriMatchResultContext resultContext)
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 |