public abstract class PatternRequestMatcher extends Object implements RequestMatcher
A PatternHandler is in charge of both page extraction and data processing by implementing its two abstract methods.
RequestMatcher.MatchOther| Modifier and Type | Field and Description |
|---|---|
protected String |
pattern
match pattern.
|
| Constructor and Description |
|---|
PatternRequestMatcher(String pattern) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
match(Request request)
Check whether to process the page.
Please DO NOT change page status in this method. |
protected String pattern
public PatternRequestMatcher(String pattern)
pattern - url pattern to handlepublic boolean match(Request request)
RequestMatchermatch in interface RequestMatcherrequest - pageCopyright © 2017. All rights reserved.