public class DefaultRequestMatcher extends Object implements RequestMatcher
Modifier and Type | Field and Description |
---|---|
protected Map<String,ActionChain> |
chainMap |
protected ActionChain |
defaultChain |
Constructor and Description |
---|
DefaultRequestMatcher() |
Modifier and Type | Method and Description |
---|---|
void |
add(String path,
ActionInfo ai,
ActionChain chain) |
void |
addChain(String httpMethod,
ActionChain chain) |
ActionChain |
match(ActionContext ac) |
void |
setDefaultChain(ActionChain defaultChain) |
protected Map<String,ActionChain> chainMap
protected ActionChain defaultChain
public void add(String path, ActionInfo ai, ActionChain chain)
add
in interface RequestMatcher
public ActionChain match(ActionContext ac)
match
in interface RequestMatcher
public void addChain(String httpMethod, ActionChain chain)
public void setDefaultChain(ActionChain defaultChain)
Copyright © 2020. All rights reserved.