public class Route extends Object implements Comparable<Route>
| Modifier and Type | Field and Description |
|---|---|
protected int |
depth |
protected List<org.noear.solon.core.util.RankEntity<ExFilter>> |
filters |
protected String |
id |
protected int |
index |
protected List<ExPredicate> |
predicates |
protected URI |
target |
protected TimeoutProperties |
timeout |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Route o) |
List<org.noear.solon.core.util.RankEntity<ExFilter>> |
getFilters()
过滤器
|
String |
getId()
标识
|
int |
getIndex()
顺序位
|
List<ExPredicate> |
getPredicates()
匹配检测器
|
URI |
getTarget()
目标
|
TimeoutProperties |
getTimeout()
超时
|
boolean |
matched(ExContext ctx)
匹配
|
protected final String id
protected int index
protected int depth
protected URI target
protected List<ExPredicate> predicates
protected TimeoutProperties timeout
public Route(String id)
public boolean matched(ExContext ctx)
public String getId()
public int getIndex()
public URI getTarget()
public List<ExPredicate> getPredicates()
public TimeoutProperties getTimeout()
public int compareTo(Route o)
compareTo in interface Comparable<Route>Copyright © 2025. All rights reserved.