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| 限定符和类型 | 字段和说明 |
|---|---|
protected String |
pattern
match pattern. only matched page should be handled.
|
private Pattern |
patternCompiled |
| 构造器和说明 |
|---|
PatternRequestMatcher(String pattern) |
protected String pattern
private Pattern patternCompiled
public PatternRequestMatcher(String pattern)
pattern - url pattern to handlepublic boolean match(Request request)
RequestMatchermatch 在接口中 RequestMatcherrequest - pageCopyright © 2021. All rights reserved.